fix error handling

This commit is contained in:
kakkokari-gtyih 2023-12-22 20:59:18 +09:00
parent d1e0fdac89
commit dbf8d5b250

View File

@ -40,6 +40,9 @@ const currentLocaleIso = computed(() => (locales.value as LocaleObject[]).find((
const isNavOpen = ref<boolean>(false);
const isCanvasLoaded = ref<boolean>(false);
const scrollPos = useState('miHub_global_scrollPos', () => 0);
scrollPos.value = 0;
const handleError = () => clearError({ redirect: localePath('/') });
/**