diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsx index 9d0e0fcd3..15345687e 100644 --- a/web/components/ui/Content/Content.tsx +++ b/web/components/ui/Content/Content.tsx @@ -1,5 +1,5 @@ import { useRecoilState, useRecoilValue } from 'recoil'; -import { Layout, Tabs, Spin } from 'antd'; +import { Layout, Tabs, Skeleton } from 'antd'; import { FC, MutableRefObject, useEffect, useRef, useState } from 'react'; import cn from 'classnames'; import dynamic from 'next/dynamic'; @@ -304,89 +304,88 @@ export const Content: FC = () => { return ( <>
- - -
-
- {online && } - {!online && !appState.appLoading && ( - setShowNotifyModal(true)} - onFollowClick={() => setShowFollowModal(true)} - /> - )} - {online && ( - - )} -
-
-
- {!isMobile && ( - - {externalActionButtons} - setShowFollowModal(true)} /> - setShowNotifyModal(true)} - notificationClosed={() => disableNotifyReminderPopup()} - > - setShowNotifyModal(true)} /> - - - )} - - disableNotifyReminderPopup()} - handleCancel={() => disableNotifyReminderPopup()} - > - - -
-
- {isMobile ? ( - - ) : ( - +
+
+ {appState.appLoading && } + {online && } + {!online && !appState.appLoading && ( + setShowNotifyModal(true)} + onFollowClick={() => setShowFollowModal(true)} + /> + )} + {online && ( + )} -
- {showChat && !isMobile && } - - +
+
+ {!isMobile && ( + + {externalActionButtons} + setShowFollowModal(true)} /> + setShowNotifyModal(true)} + notificationClosed={() => disableNotifyReminderPopup()} + > + setShowNotifyModal(true)} /> + + + )} + + disableNotifyReminderPopup()} + handleCancel={() => disableNotifyReminderPopup()} + > + + +
+
+ {isMobile ? ( + + ) : ( + + )} +
+
+ {showChat && !isMobile && } + {!isMobile && false &&
{externalActionToDisplay && (