diff --git a/frontend/src/hooks/useThrottle.ts b/frontend/src/hooks/useThrottle.ts index c9f4fcc..5e5352d 100644 --- a/frontend/src/hooks/useThrottle.ts +++ b/frontend/src/hooks/useThrottle.ts @@ -8,7 +8,7 @@ export function useThrottle(value: string, interval = 500) { const lastUpdated = React.useRef(null); React.useEffect(() => { - const now = Date.now(); + const now = performance.now(); if (!lastUpdated.current || now >= lastUpdated.current + interval) { lastUpdated.current = now;