diff --git a/internal/site/src/components/routes/system.tsx b/internal/site/src/components/routes/system.tsx index 35ee75fe..700898ad 100644 --- a/internal/site/src/components/routes/system.tsx +++ b/internal/site/src/components/routes/system.tsx @@ -938,24 +938,22 @@ function GpuEnginesChart({ chartData }: { chartData: ChartData }) { function FilterBar({ store = $containerFilter }: { store?: typeof $containerFilter }) { const containerFilter = useStore(store) const { t } = useLingui() - const inputRef = useRef(null) - const debouncedStoreSet = useMemo(() => debounce((value: string) => store.set(value), 150), [store]) + const debouncedStoreSet = useMemo(() => debounce((value: string) => store.set(value), 80), [store]) const handleChange = useCallback( - (e: React.ChangeEvent) => { - const value = e.target.value - if (inputRef.current) { - inputRef.current.value = value - } - debouncedStoreSet(value) - }, + (e: React.ChangeEvent) => debouncedStoreSet(e.target.value), [debouncedStoreSet] ) return ( <> - + {containerFilter && (