Skip to content

Commit

Permalink
fixes wrong filter keys for costs and abatement
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez authored and Andrés González committed Nov 13, 2024
1 parent 89ea1b1 commit 9669744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/containers/projects/filters/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ export default function ProjectsFilters() {
const debouncedCostChange = useDebounce(async (cost: [number, number]) => {
await setFilters((prev) => ({
...prev,
cost,
costRange: cost,
}));
}, 250);

const debouncedAbatementPotentialChange = useDebounce(
async (abatementPotential: [number, number]) => {
await setFilters((prev) => ({
...prev,
abatementPotential,
abatementPotentialRange: abatementPotential,
}));
},
250,
Expand Down

0 comments on commit 9669744

Please sign in to comment.