Skip to content

Commit

Permalink
show null instead of empty list item if feature not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin-Mare committed Jun 27, 2024
1 parent 3ec4b56 commit 786f133
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/navbar-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -606,13 +606,7 @@ export default function EditorNavbar(props: EditorNavbarProps) {
</a>
</li>
</>
) : (
<>
<li>

</li>
</>
)}
) : null}
<li>
<a href="/gallery">Gallery</a>
</li>
Expand Down Expand Up @@ -753,4 +747,4 @@ export default function EditorNavbar(props: EditorNavbarProps) {
)}
</>
);
}
}

0 comments on commit 786f133

Please sign in to comment.