mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 08:53:49 +01:00
fix error handling
This commit is contained in:
parent
d1e0fdac89
commit
dbf8d5b250
@ -40,6 +40,9 @@ const currentLocaleIso = computed(() => (locales.value as LocaleObject[]).find((
|
|||||||
const isNavOpen = ref<boolean>(false);
|
const isNavOpen = ref<boolean>(false);
|
||||||
const isCanvasLoaded = ref<boolean>(false);
|
const isCanvasLoaded = ref<boolean>(false);
|
||||||
|
|
||||||
|
const scrollPos = useState('miHub_global_scrollPos', () => 0);
|
||||||
|
scrollPos.value = 0;
|
||||||
|
|
||||||
const handleError = () => clearError({ redirect: localePath('/') });
|
const handleError = () => clearError({ redirect: localePath('/') });
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user