From 0842349a89c2fa395c1f36b2f1526a1e3fe7111d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 18 Jan 2025 21:29:45 -0800 Subject: check for id existencen --- src/routes/(app)/[username]/(profile)/+page.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index 6530f149..125b26fd 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -31,7 +31,7 @@
- {#if user?.id === subject.id} + {#if user?.id && user.id === subject.id}
{#each accounts as account, i} @@ -80,4 +80,3 @@ {/if}
- -- cgit v1.2.3