ChatPageMain: allow switching chats before onboarding
This commit is contained in:
parent
6ce7c0a8cb
commit
e42f0bc9b0
|
@ -58,7 +58,7 @@ const ChatPageMain = () => {
|
||||||
|
|
||||||
const handleReportChat = () => dispatch(initReport(chat?.account as any));
|
const handleReportChat = () => dispatch(initReport(chat?.account as any));
|
||||||
|
|
||||||
if (!account?.chats_onboarded) {
|
if (!chat && !account?.chats_onboarded) {
|
||||||
return (
|
return (
|
||||||
<Welcome />
|
<Welcome />
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue