mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-28 16:55:58 +01:00
chore: add wrangler dependency to package.json
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export function useLanguage() {
|
||||
const { setLocale } = useI18n()
|
||||
const { setLocale } = useI18n({ useScope: 'global' })
|
||||
|
||||
async function changeLocale(newLocale: string) {
|
||||
await setLocale(newLocale as 'en' | 'fr' | 'es')
|
||||
|
||||
Reference in New Issue
Block a user