mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-29 15:09:26 -05:00
don't I just want this?
This commit is contained in:
@@ -17,12 +17,9 @@ export default function Search({
|
||||
|
||||
const { data: items, refetch, isFetched, isFetching } = useSearch(searchString)
|
||||
|
||||
const search = useCallback(
|
||||
debounce(() => {
|
||||
const search = debounce(() => {
|
||||
refetch();
|
||||
}, 750),
|
||||
[]
|
||||
);
|
||||
}, 750);
|
||||
|
||||
useEffect(() => {
|
||||
search();
|
||||
|
||||
Reference in New Issue
Block a user