Commit af048c18 authored by Yuri Mikhin's avatar Yuri Mikhin

Repair marketplace apps filtering.

parent abd99053
...@@ -23,7 +23,7 @@ const Apps = () => { ...@@ -23,7 +23,7 @@ const Apps = () => {
setDisplayedAppId(id); setDisplayedAppId(id);
}, []); }, []);
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
const debounceFilterApps = useCallback(debounce(q => filterApps(q), 500), []); const debounceFilterApps = useCallback(debounce(q => filterApps(q), 500), [ defaultAppList ]);
const clearDisplayedAppId = useCallback(() => setDisplayedAppId(null), []); const clearDisplayedAppId = useCallback(() => setDisplayedAppId(null), []);
function filterApps(q: string) { function filterApps(q: string) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment