ChatPageMain: allow switching chats before onboarding

This commit is contained in:
Alex Gleason 2022-09-19 14:19:46 -05:00
parent 6ce7c0a8cb
commit e42f0bc9b0
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const ChatPageMain = () => {
const handleReportChat = () => dispatch(initReport(chat?.account as any));
if (!account?.chats_onboarded) {
if (!chat && !account?.chats_onboarded) {
return (
<Welcome />
);