Skip to content

Commit

Permalink
Remove unused useEffect dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Jul 28, 2024
1 parent f46641b commit 41d5f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/MonthSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const MonthSelect = ({ months, defaultMonth }: MonthSelectProps) => {
const queryString = new URLSearchParams({ month }).toString();
router.replace(`${pathname}?${queryString}`);
},
[dispatch, pathname, router],
[pathname, router],
);

return (
Expand Down

0 comments on commit 41d5f81

Please sign in to comment.