diff --git a/packages/web/components/MainTabsOrPages/Conversations.tsx b/packages/web/components/MainTabsOrPages/Conversations.tsx index 494fb27..f3d2e22 100644 --- a/packages/web/components/MainTabsOrPages/Conversations.tsx +++ b/packages/web/components/MainTabsOrPages/Conversations.tsx @@ -18,6 +18,7 @@ import LiveRoom from "../Conversations/LiveRoom"; import Conversation from "@nirvana/common/models/conversation"; import { useRecoilValue } from "recoil"; import { + countNavigationContentSelector, liveRoomsSelector, RelativeTimeConvosSections, RelativeTimeSeparatedConvosSelector, @@ -45,6 +46,26 @@ export default function Conversations() { RelativeTimeConvosSections.oldJunk ); + const navConvoCounts = useRecoilValue(countNavigationContentSelector); + const isStaleState = + navConvoCounts.liveCount == 0 && navConvoCounts.defaultCount == 0; + + if (isStaleState) { + return ( +
+ + + + + {"Oh the sound of silence..."} + +
+ ); + } + return ( <> {/* live */}