diff --git a/src/renderer/components/dialogs/CreateChat.tsx b/src/renderer/components/dialogs/CreateChat.tsx
index 94778a72b9..57e67322b7 100644
--- a/src/renderer/components/dialogs/CreateChat.tsx
+++ b/src/renderer/components/dialogs/CreateChat.tsx
@@ -190,9 +190,7 @@ export default function CreateChat(props: {
>
)}
{viewMode.startsWith('createGroup') && (
-
+
)}
{viewMode.startsWith('createVerifiedGroup') && (
@@ -650,7 +648,13 @@ function CreateGroupInner(props: {
groupId,
lazilyCreateOrUpdateGroup,
finishCreateGroup,
- ] = useCreateGroup(Boolean(isVerified), groupName, groupImage, groupMembers, onClose)
+ ] = useCreateGroup(
+ Boolean(isVerified),
+ groupName,
+ groupImage,
+ groupMembers,
+ onClose
+ )
const viewPrefix = isVerified ? 'createVerifiedGroup' : 'createGroup'
@@ -666,15 +670,13 @@ function CreateGroupInner(props: {
*/
const [groupContacts, setGroupContacts] = useState([])
- useMemo(
- () => {
- BackendRemote.rpc.getContactsByIds(accountId, groupMembers).then((records) => {
+ useMemo(() => {
+ BackendRemote.rpc
+ .getContactsByIds(accountId, groupMembers)
+ .then(records => {
setGroupContacts(Object.entries(records).map(([_, contact]) => contact))
})
- },
- [accountId, groupMembers]
- )
-
+ }, [accountId, groupMembers])
const showAddMemberDialog = () => {
const listFlags = isVerified
@@ -691,7 +693,6 @@ function CreateGroupInner(props: {
})
}
- console.log(groupContacts)
return (
<>
{viewMode.startsWith(viewPrefix + '-showQrCode') && (