fix: menu buttons not being disabled
This commit is contained in:
1 parent
23839d0dbc
commit
6a6b25fd97
4 files changed
+6
-4867
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user