First mitigations for localforage error stuff
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
ref #1
This commit is contained in:
parent
c34f45ca6f
commit
4f5b7f38fb
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
$: logged_in = false;
|
$: logged_in = false;
|
||||||
|
|
||||||
UserStore.init();
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
localForage.getItem('userdata', (err, value) => {
|
localForage.getItem('userdata', (err, value) => {
|
||||||
if (value) {
|
if (value) {
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import '../app.postcss';
|
import '../app.postcss';
|
||||||
import Sidebar from '$lib/Sidebar.svelte';
|
import Sidebar from '$lib/Sidebar.svelte';
|
||||||
|
import UserStore from '$lib/UserStore';
|
||||||
|
|
||||||
|
UserStore.init();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div style="min-height: 640px;" class="bg-white dark:bg-gray-800">
|
<div style="min-height: 640px;" class="bg-white dark:bg-gray-800">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user