fix: menu buttons not being disabled

This commit is contained in:
Xylight committed 2024-06-03 14:27:20 -07:00
1 parent 23839d0dbc
commit 6a6b25fd97
4 files changed
+6 -4867

No files matched your search

+1 -5
View File
@@ -200,11 +200,7 @@
icon={Plus}
/>
<MenuDivider>Create</MenuDivider>
<MenuButton
link
href="/create/post"
disabled={$profile?.jwt == undefined}
>
<MenuButton link href="/create/post" disabled={!$profile?.jwt}>
<Icon src={PencilSquare} mini width={16} slot="prefix" />
Post
</MenuButton>