Skip to content

Commit

Permalink
preventDefault added for Apply filter button
Browse files Browse the repository at this point in the history
  • Loading branch information
harshilvelotio committed Dec 30, 2024
1 parent 3b4927a commit 891fc76
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export const AdditonalFiltersDrawer: FunctionComponent<AdditonalFiltersDrawerPro
}));
};

const onSubmit = (): void => {
const onSubmit = (e: React.FormEvent<HTMLFormElement>): void => {
e.preventDefault();
onApply(localCopyOfProperties);
};

Expand Down

0 comments on commit 891fc76

Please sign in to comment.