mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-11-27 07:58:37 +03:00
fix: don't render library menu twice for mobile (#5636)
This commit is contained in:
1 parent
f9b7cfd8aa
commit
8b7302e89e
1 file changed
+3
-3
@@ -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>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user