From 786f133dfbb787fa885e1f6f3a324bf62578bfae Mon Sep 17 00:00:00 2001 From: Mare Cosmin <147330889+Cosmin-Mare@users.noreply.github.com> Date: Tue, 25 Jun 2024 16:15:09 -0400 Subject: [PATCH] show null instead of empty list item if feature not enabled --- src/components/navbar-editor.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/navbar-editor.tsx b/src/components/navbar-editor.tsx index 33c1225d0..1fed8cc4f 100644 --- a/src/components/navbar-editor.tsx +++ b/src/components/navbar-editor.tsx @@ -606,13 +606,7 @@ export default function EditorNavbar(props: EditorNavbarProps) { - ) : ( - <> -
  • - -
  • - - )} + ) : null}
  • Gallery
  • @@ -753,4 +747,4 @@ export default function EditorNavbar(props: EditorNavbarProps) { )} ); -} \ No newline at end of file +}