From e42f0bc9b0fc053d1a0e7a446564731457ba8960 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 19 Sep 2022 14:19:46 -0500 Subject: [PATCH] ChatPageMain: allow switching chats before onboarding --- .../chats/components/chat-page/components/chat-page-main.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/chats/components/chat-page/components/chat-page-main.tsx b/app/soapbox/features/chats/components/chat-page/components/chat-page-main.tsx index 2357b6219a..82c26382ab 100644 --- a/app/soapbox/features/chats/components/chat-page/components/chat-page-main.tsx +++ b/app/soapbox/features/chats/components/chat-page/components/chat-page-main.tsx @@ -58,7 +58,7 @@ const ChatPageMain = () => { const handleReportChat = () => dispatch(initReport(chat?.account as any)); - if (!account?.chats_onboarded) { + if (!chat && !account?.chats_onboarded) { return ( );