fix: inform user then search term provided no results
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 38s
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 38s
This commit is contained in:
parent
8ece8283e1
commit
24463a53c5
@ -199,8 +199,11 @@ export const CreatePage = () => {
|
||||
return uniqueEvents
|
||||
}, [])
|
||||
|
||||
console.log('fineFilteredEvents', fineFilteredEvents)
|
||||
console.info('fineFilteredEvents', fineFilteredEvents)
|
||||
setFoundUsers(fineFilteredEvents)
|
||||
|
||||
if (!fineFilteredEvents.length)
|
||||
toast.info('No user found with the provided search term')
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(error)
|
||||
|
Loading…
Reference in New Issue
Block a user