mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
No issue to link – I'm basically pushing some updates upstream from the version of the hook I copied over for the Registry website. ## Changes made - Updated debounce functions to have input validation for timeouts - Updated `useDebouncedValue` to flush state syncs immediately if timeout value is `0` - Updated tests to reflect changes - Cleaned up some comments and parameter names to make things more clear