Skip to content

Commit

Permalink
per simon's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
farooqkz committed Jul 11, 2023
1 parent 6d6502a commit 9f07a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/components/dialogs/CreateChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function useContactSearch(
}

const onSearchChange = (e: React.ChangeEvent<HTMLInputElement>) =>
updateSearch(e.target.value.trim())
updateSearch(e.target.value)

return [searchString, onSearchChange, updateSearch] as [
string,
Expand Down Expand Up @@ -416,7 +416,7 @@ export function AddMemberInnerDialog({

const contactId = await BackendRemote.rpc.createContact(
accountId,
queryStr,
queryStr.trim(),
null
)
const contact = await BackendRemote.rpc.getContact(accountId, contactId)
Expand Down

0 comments on commit 9f07a4a

Please sign in to comment.