From 7b2efdff08bc87c54680281d8872c3df13dfad80 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 14 Jul 2026 04:20:28 -0400 Subject: [PATCH] refac --- .../components/layout/Sidebar/UserMenu.svelte | 54 ++++++++++--------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/src/lib/components/layout/Sidebar/UserMenu.svelte b/src/lib/components/layout/Sidebar/UserMenu.svelte index fbca7cb782..f3eb15ce0d 100644 --- a/src/lib/components/layout/Sidebar/UserMenu.svelte +++ b/src/lib/components/layout/Sidebar/UserMenu.svelte @@ -122,37 +122,39 @@
- + {#if $user} - + if ($mobile) { + await tick(); + showSidebar.set(false); + } + }} + > +
+ +
+
{$user.name}
+ +
{/if} {#if profile} {#if $user?.status_emoji || $user?.status_message}
{/if}