hotfix: fixed thread focus booting back to timeline while logged in,
width in chromium browsers
This commit is contained in:
parent
4686a1307f
commit
f5676f5b7a
4 changed files with 3 additions and 25 deletions
|
@ -1,6 +1,7 @@
|
|||
<script>
|
||||
import { client } from '$lib/client/client.js';
|
||||
import * as api from '$lib/client/api.js';
|
||||
import { logged_in } from '$lib/stores/user.js';
|
||||
import { get } from 'svelte/store';
|
||||
import { goto, afterNavigate } from '$app/navigation';
|
||||
import { base } from '$app/paths'
|
||||
|
@ -11,9 +12,7 @@
|
|||
export let data;
|
||||
let error = false;
|
||||
|
||||
if (!get(client).instance || !get(client).user) {
|
||||
goto("/");
|
||||
}
|
||||
if (!get(logged_in)) goto("/");
|
||||
|
||||
let previous_page = base;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue