Virtual whiteboard for sketching hand-drawn like diagrams
fix: don't render library menu twice for mobile (#5636)
Aakansha Doshi8b7302e89ea0
diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsxindex 2db1786bd4..ba08bf7c0b 100644--- a/src/components/LayerUI.tsx+++ b/src/components/LayerUI.tsx@@ -478,11 +478,11 @@ const LayerUI = ({{t("buttons.scrollBackToContent")}</button>)}+ {appState.isLibraryOpen && (+ <div className="layer-ui__sidebar">{libraryMenu}</div>+ )}</div>)}- {appState.isLibraryOpen && (- <div className="layer-ui__sidebar">{libraryMenu}</div>- )}</>);};