Skip to content

Commit

Permalink
refactor: make search state reset timer as 750ms (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlimjustin committed Dec 8, 2021
1 parent 107f2ff commit 2a1dc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Shortcut/shortcut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const Shortcut = (): void => {
_searchListener = setInterval(() => {
searchingFileName = '';
clearInterval(_searchListener);
}, 500);
}, 750);
}
};
const KeyDownShortcutsHandler = async (e: KeyboardEvent) => {
Expand Down

1 comment on commit 2a1dc71

@vercel
Copy link

@vercel vercel bot commented on 2a1dc71 Dec 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.