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}