We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d36ab8e + 84e30af commit 1f965c1Copy full SHA for 1f965c1
src/ui/components/Checkout/ModalCheckout.vue
@@ -27,7 +27,7 @@ const eoa = ref(props.eoa)
27
const imageRef = useTemplateRef(`imageRef`)
28
29
const i18nBase = i18nFactory(Strings)
30
-let i18n = i18nBase(['en'])
+let i18n = ref<ReturnType<typeof i18nBase>>(i18nBase(['en']))
31
32
const passportPageUrl = computed(() =>
33
window.location.hostname.includes('prerelease.clubs.place')
@@ -46,6 +46,7 @@ const onClickPassport = async () => {
46
}
47
48
onMounted(async () => {
49
+ i18n.value = i18nBase(navigator.languages)
50
if (cronCalling.value === undefined) {
51
cronCalling.value = ((fb) =>
52
fetch('/api/cron/assets')
0 commit comments