diff --git a/src/components/Inbox/CreateModalContent.tsx b/src/components/Inbox/CreateModalContent.tsx index c1f927c8..c34b6158 100644 --- a/src/components/Inbox/CreateModalContent.tsx +++ b/src/components/Inbox/CreateModalContent.tsx @@ -59,12 +59,11 @@ const CreateModalContent = (props: Props) => { const { chatEntities, actions } = useInbox() - console.log('!!! chatEntities:', chatEntities) - const handleCreate = async () => { try { const initChat = await actions.createChat(slugs(), theme()) console.debug('[initChat]', initChat) + hideModal() } catch (error) { console.error(error) } diff --git a/src/components/Inbox/DialogCard.tsx b/src/components/Inbox/DialogCard.tsx index 63696d21..3988966f 100644 --- a/src/components/Inbox/DialogCard.tsx +++ b/src/components/Inbox/DialogCard.tsx @@ -9,7 +9,7 @@ type DialogProps = { online?: boolean message?: string counter?: number - theme?: string + title?: string ownSlug: string members: ChatMember[] } @@ -19,9 +19,16 @@ const DialogCard = (props: DialogProps) => { console.log('!!! companions:', companions) return (