Update LayerUI.tsx

This commit is contained in:
zsviczian 2022-11-14 18:05:56 +01:00 committed by GitHub
parent 3c0b29d85f
commit c246ccf9d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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} />
)} )}