|
@@ -411,7 +411,8 @@ const LayerUI = ({
|
|
onClick={onCollabButtonClick}
|
|
onClick={onCollabButtonClick}
|
|
/>
|
|
/>
|
|
)}
|
|
)}
|
|
- {renderTopRightUI?.(device.isMobile, appState)}
|
|
|
|
|
|
+ {!appState.viewModeEnabled &&
|
|
|
|
+ renderTopRightUI?.(device.isMobile, appState)}
|
|
{!appState.viewModeEnabled && (
|
|
{!appState.viewModeEnabled && (
|
|
<LibraryButton appState={appState} setAppState={setAppState} />
|
|
<LibraryButton appState={appState} setAppState={setAppState} />
|
|
)}
|
|
)}
|