From 63235c652521eefb992055a0ed7b77bc97022e9e Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Tue, 3 Oct 2023 20:01:23 -0700 Subject: [PATCH] fix: broken sidebar --- src/lib/components/ui/sidebar/ProfileButton.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/components/ui/sidebar/ProfileButton.svelte b/src/lib/components/ui/sidebar/ProfileButton.svelte index b89b14af..7c6895fd 100644 --- a/src/lib/components/ui/sidebar/ProfileButton.svelte +++ b/src/lib/components/ui/sidebar/ProfileButton.svelte @@ -5,7 +5,6 @@ import ProfileAvatar from '$lib/lemmy/ProfileAvatar.svelte' import { Button } from 'mono-svelte' - export let expanded: boolean = false export let prof: Profile export let index: number @@ -34,7 +33,7 @@ }} class="w-full font-normal {$profile?.id == prof.id ? '!bg-slate-100 dark:!bg-zinc-900' - : ''} {expanded ? '' : '!p-1.5'}" + : ''}" > {prof.username ?? prof.user?.local_user_view.person.name}