Skip to content

Commit

Permalink
chore: change debounce time
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldanielecki committed Jun 22, 2024
1 parent bcb4f48 commit 59a2bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import useDebounce from "@azure-fundamentals/hooks/useDebounce";

const Home: NextPage = () => {
const [searchTerm, setSearchTerm] = useState("");
const debouncedSearchTerm = useDebounce(searchTerm, 1000);
const debouncedSearchTerm = useDebounce(searchTerm, 500);

const handleSearchChange = (event: React.ChangeEvent<HTMLInputElement>) => {
setSearchTerm(event.target.value);
Expand Down

0 comments on commit 59a2bec

Please sign in to comment.