forked from blisstown/campfire
finish URL rewrite, remove redundant logged_in state
This commit is contained in:
parent
a3fdd0007c
commit
4d771d8ebd
9 changed files with 20 additions and 27 deletions
|
@ -7,7 +7,7 @@
|
|||
import { goto } from '$app/navigation';
|
||||
import { error } from '@sveltejs/kit';
|
||||
import { unread_notif_count, last_read_notif_id } from '$lib/notifications.js';
|
||||
import { logged_in, account } from '$lib/stores/account.js';
|
||||
import { account } from '$lib/stores/account.js';
|
||||
|
||||
export let data;
|
||||
|
||||
|
@ -30,7 +30,6 @@
|
|||
if (!data) return goto("/");
|
||||
|
||||
account.set(parseAccount(data));
|
||||
logged_in.set(true);
|
||||
console.log(`Logged in as @${get(account).username}@${get(account).host}`);
|
||||
|
||||
// spin up async task to fetch notifications
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue