Skip to content

Commit

Permalink
fix: searchmodal input bug
Browse files Browse the repository at this point in the history
  • Loading branch information
huanghanzhilian committed Mar 21, 2024
1 parent 15728ea commit 1588741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modals/SearchModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const SearchModal = props => {
{
search,
},
{ skip: !Boolean(debouncedSearch) }
{ skip: !Boolean(debouncedSearch) || search !== debouncedSearch }
)

//? Re-Renders
Expand Down

0 comments on commit 1588741

Please sign in to comment.