diff --git a/app/components/Sharing/components/Suggestions.tsx b/app/components/Sharing/components/Suggestions.tsx index f31931769..4ea24e158 100644 --- a/app/components/Sharing/components/Suggestions.tsx +++ b/app/components/Sharing/components/Suggestions.tsx @@ -59,11 +59,11 @@ export const Suggestions = observer( const theme = useTheme(); const fetchUsersByQuery = useThrottledCallback( - (params) => { - void users.fetchPage({ query: params.query }); + (query: string) => { + void users.fetchPage({ query }); if (showGroups) { - void groups.fetchPage({ query: params.query }); + void groups.fetchPage({ query }); } }, 250,