Эх сурвалжийг харах

fix new video button display when there is no active channel (#739)

mikkio 3 жил өмнө
parent
commit
413d2ee8a7

+ 1 - 1
src/components/Topbar/StudioTopbar/StudioTopbar.tsx

@@ -144,7 +144,7 @@ const StudioTopbar: React.FC<StudioTopbarProps> = ({ hideChannelInfo, fullWidth
         {!hideChannelInfo && (
           <StudioTopbarContainer>
             <CSSTransition
-              in={sheetState !== 'open'}
+              in={sheetState !== 'open' && !!activeChannelId}
               unmountOnExit
               mountOnEnter
               timeout={parseInt(transitions.timings.loading)}