fix: don't render library menu twice for mobile (#5636)
This commit is contained in:
parent
f9b7cfd8aa
commit
8b7302e89e
@ -478,11 +478,11 @@ const LayerUI = ({
|
|||||||
{t("buttons.scrollBackToContent")}
|
{t("buttons.scrollBackToContent")}
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
{appState.isLibraryOpen && (
|
||||||
|
<div className="layer-ui__sidebar">{libraryMenu}</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{appState.isLibraryOpen && (
|
|
||||||
<div className="layer-ui__sidebar">{libraryMenu}</div>
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user