ChatPageMain: allow switching chats before onboarding
This commit is contained in:
parent
6ce7c0a8cb
commit
e42f0bc9b0
1 changed files with 1 additions and 1 deletions
|
@ -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 />
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue