Update LayerUI.tsx

fix-zsviczian-toprightUI-position
zsviczian 2 years ago committed by GitHub
parent 3c0b29d85f
commit c246ccf9d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save