Skip to content

Commit 50591ff

Browse files
committed
Update MyFeed.svelte
1 parent 4ccc704 commit 50591ff

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/lib/components/CategoryHome/MyFeed.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import StoreSession from "$lib/stores/session";
2121
2222
let props = $props();
23-
let loading = $state(false);
23+
let loading = $state(true);
2424
let failed = $state(false);
2525
const loadingAttempt = async () => {
2626
// NOTE: We only actually ask the API if our own cache is expired (or doesnt exist, which is also counted as expired)
@@ -33,8 +33,6 @@
3333
};
3434
onMount(async () => {
3535
if (!($StoreSettings.loggedIn)) return;
36-
if (loading) return; // TODO: remove these loading false then true then false things
37-
loading = true;
3836
3937
try {
4038
await loadingAttempt();

0 commit comments

Comments
 (0)