Skip to content

Commit

Permalink
fix:wrapped-the-whole-function-in-startTransition-function
Browse files Browse the repository at this point in the history
  • Loading branch information
BadriVishalPadhy committed Dec 4, 2024
1 parent 7503e47 commit 02c3bee
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,15 @@ export const Filters: React.FC = () => {
size="sm"
className="flex items-center h-8 gap-2 bg-background-subtle"
onClick={() => {
setIdentifierVisible(false);
setSuccessVisible(false);
setSuccess(null);
setTimeRangeVisible(false);
setIdentifier(null);
startTransition(() => {});
startTransition(() => {
setIdentifierVisible(false);
setSuccessVisible(false);
setSuccess(null);
setTimeRangeVisible(false);
setIdentifier(null);
setAfter(null);
setBefore(null);
});
}}
>
Reset Filters
Expand Down

0 comments on commit 02c3bee

Please sign in to comment.