fix: account menu click not working.

This commit is contained in:
Darshan committed 2025-06-14 09:16:17 +05:30
1 parent 1f10ee99c4
commit 99bac39c3b
1 file changed
+2 -2
+2 -2
View File
@@ -211,6 +211,7 @@
<Popover let:toggle let:showing>
<button
type="button"
style:cursor="pointer"
on:click|preventDefault={(e) => {
toggle(e);
shouldAnimateThemeToggle = false;
@@ -221,7 +222,7 @@
style:user-select="none">
<Avatar size="s" src={avatar} />
</button>
<svelte:fragment slot="tooltip" let:toggle>
<svelte:fragment slot="tooltip">
<ActionMenu.Root noPadding>
<Layout.Stack gap="xxs">
<div
@@ -234,7 +235,6 @@
</div>
<ActionMenu.Item.Anchor
trailingIcon={IconUser}
on:click={toggle}
size="l"
href={`${base}/account`}>
Account</ActionMenu.Item.Anchor>