diff --git a/ui/component/fileTitleSection/view.jsx b/ui/component/fileTitleSection/view.jsx index a8bb6b8ac..d52931d2d 100644 --- a/ui/component/fileTitleSection/view.jsx +++ b/ui/component/fileTitleSection/view.jsx @@ -13,6 +13,7 @@ import I18nMessage from 'component/i18nMessage'; import Button from 'component/button'; import FileDescription from 'component/fileDescription'; import { ENABLE_MATURE } from 'config'; +import { useIsMobile } from 'effects/use-screensize'; type Props = { uri: string, @@ -40,6 +41,8 @@ export default function FileTitleSection(props: Props) { doFetchSubCount, } = props; + const isMobile = useIsMobile(); + React.useEffect(() => { if (channelClaimId) doFetchSubCount(channelClaimId); }, [channelClaimId, doFetchSubCount]); @@ -100,7 +103,7 @@ export default function FileTitleSection(props: Props) { ) : ( <> - + ) }