Sync with Server
This commit is contained in:
+15
-2
@@ -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: '',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user