fix: inform user then search term provided no results #267
@ -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