From 8b7302e89ea0e9dad55169b6570efcebca7c8dc4 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Mon, 29 Aug 2022 15:44:10 +0530 Subject: [PATCH] fix: don't render library menu twice for mobile (#5636) --- src/components/LayerUI.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index 2db1786b..ba08bf7c 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -478,11 +478,11 @@ const LayerUI = ({ {t("buttons.scrollBackToContent")} )} + {appState.isLibraryOpen && ( +
{libraryMenu}
+ )} )} - {appState.isLibraryOpen && ( -
{libraryMenu}
- )} ); };