First mitigations for localforage error stuff
continuous-integration/drone/push Build is passing Details

ref #1
This commit is contained in:
Nicolai Ort 2021-08-21 07:43:31 +02:00
parent c34f45ca6f
commit 4f5b7f38fb
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,6 @@
$: logged_in = false;
UserStore.init();
onMount(() => {
localForage.getItem('userdata', (err, value) => {
if (value) {

View File

@ -1,11 +1,14 @@
<script>
import '../app.postcss';
import Sidebar from '$lib/Sidebar.svelte';
import UserStore from '$lib/UserStore';
UserStore.init();
</script>
<div style="min-height: 640px;" class="bg-white dark:bg-gray-800">
<div class="h-screen flex overflow-hidden">
<Sidebar/>
<Sidebar />
<div class="px-4 py-8 flex flex-col w-0 flex-1 overflow-hidden">
<slot />
</div>