|
@@ -1,9 +1,13 @@
|
|
import React, { useState, useEffect, useRef } from 'react'
|
|
import React, { useState, useEffect, useRef } from 'react'
|
|
-import { useUser, useDisplayDataLostWarning, useEditVideoSheet, useAsset } from '@/hooks'
|
|
|
|
|
|
+import { useNavigate } from 'react-router'
|
|
|
|
+import { CSSTransition } from 'react-transition-group'
|
|
|
|
+
|
|
import { BasicChannelFieldsFragment } from '@/api/queries'
|
|
import { BasicChannelFieldsFragment } from '@/api/queries'
|
|
import { absoluteRoutes } from '@/config/routes'
|
|
import { absoluteRoutes } from '@/config/routes'
|
|
|
|
+import { useUser, useDisplayDataLostWarning, useEditVideoSheet, useAsset } from '@/hooks'
|
|
import { Placeholder, Text, Button, ExpandButton, IconButton } from '@/shared/components'
|
|
import { Placeholder, Text, Button, ExpandButton, IconButton } from '@/shared/components'
|
|
import { SvgGlyphAddVideo, SvgGlyphCheck, SvgGlyphLogOut, SvgGlyphNewChannel } from '@/shared/icons'
|
|
import { SvgGlyphAddVideo, SvgGlyphCheck, SvgGlyphLogOut, SvgGlyphNewChannel } from '@/shared/icons'
|
|
|
|
+import { transitions } from '@/shared/theme'
|
|
|
|
|
|
import {
|
|
import {
|
|
StyledTopbarBase,
|
|
StyledTopbarBase,
|
|
@@ -26,9 +30,6 @@ import {
|
|
AvatarPlaceholder,
|
|
AvatarPlaceholder,
|
|
GlyphCheckContainer,
|
|
GlyphCheckContainer,
|
|
} from './StudioTopbar.style'
|
|
} from './StudioTopbar.style'
|
|
-import { CSSTransition } from 'react-transition-group'
|
|
|
|
-import { transitions } from '@/shared/theme'
|
|
|
|
-import { useNavigate } from 'react-router'
|
|
|
|
|
|
|
|
type StudioTopbarProps = {
|
|
type StudioTopbarProps = {
|
|
hideChannelInfo?: boolean
|
|
hideChannelInfo?: boolean
|