Sync with Server

This commit is contained in:
rotimi-best
2021-08-18 19:47:02 +03:00
parent e8c74de9ce
commit 60f06d6ab1
77 changed files with 2989 additions and 7610 deletions
+15 -2
View File
@@ -1,4 +1,17 @@
import { writable } from 'svelte/store';
export const user = writable(false);
export const profile = writable(false);
export const user = writable({
openAuthModal: false,
fetchingUser: false,
isLoggedIn: false,
currentSession: null,
expiresAt: 0,
});
export const profile = writable({
id: null,
avatar_url:
'https://pbs.twimg.com/profile_images/1416443682157473795/dGtFbtht_normal.jpg',
username: 'Elon',
user_id: '',
});