diff --git a/error.vue b/error.vue index 3803f543..35f454be 100644 --- a/error.vue +++ b/error.vue @@ -40,6 +40,9 @@ const currentLocaleIso = computed(() => (locales.value as LocaleObject[]).find(( const isNavOpen = ref(false); const isCanvasLoaded = ref(false); +const scrollPos = useState('miHub_global_scrollPos', () => 0); +scrollPos.value = 0; + const handleError = () => clearError({ redirect: localePath('/') }); /**