Pārlūkot izejas kodu

Update MobileMenu.tsx

zsviczian 2 gadi atpakaļ
vecāks
revīzija
b412e742e6
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/components/MobileMenu.tsx

+ 2 - 1
src/components/MobileMenu.tsx

@@ -111,8 +111,9 @@ export const MobileMenu = ({
                     />
                   </Stack.Row>
                 </Island>
-                {renderTopRightUI && renderTopRightUI(true, appState)}
                 <div className="mobile-misc-tools-container">
+                  {!appState.viewModeEnabled &&
+                    renderTopRightUI?.(true, appState)}
                   <PenModeButton
                     checked={appState.penMode}
                     onChange={onPenModeToggle}