Skip to content

Commit

Permalink
remove duplicate effect from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lisatassone committed Jul 16, 2024
1 parent 5055be7 commit 43e2097
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,6 @@ export const FilterBarProvider = <ValuesMap extends FiltersValues>({
}
}, [state])

useEffect(() => {
if (state.hasUpdatedValues) {
onValuesChange({ ...state.values })
dispatch({ type: "complete_update_values" })
}
}, [state])

useEffect(() => {
const newFiltersHash = createFiltersHash(filters)
if (newFiltersHash !== filtersHash.current) {
Expand Down

0 comments on commit 43e2097

Please sign in to comment.