invite-modal-hotfix
This commit is contained in:
parent
9bff49e711
commit
21027f3167
|
@ -79,7 +79,7 @@ export const InviteMembers = (props: Props) => {
|
||||||
|
|
||||||
const handleInputChange = async (value: string) => {
|
const handleInputChange = async (value: string) => {
|
||||||
if (value.length > 1) {
|
if (value.length > 1) {
|
||||||
const match = authorsToInvite().filter((author) =>
|
const match = authorsToInvite()?.filter((author) =>
|
||||||
author.name.toLowerCase().includes(value.toLowerCase()),
|
author.name.toLowerCase().includes(value.toLowerCase()),
|
||||||
)
|
)
|
||||||
setSearchResultAuthors(match)
|
setSearchResultAuthors(match)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user