Skip to content

Commit

Permalink
shallow route change on the chart page
Browse files Browse the repository at this point in the history
  • Loading branch information
isstuev committed Oct 2, 2024
1 parent 257e5e2 commit ce59a83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/pages/Chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ const Chart = () => {
router.push({
pathname: router.pathname,
query: { ...router.query, resolution },
});
},
undefined,
{ shallow: true },
);
}, [ setResolution, router ]);

const handleReset = React.useCallback(() => {
Expand Down

0 comments on commit ce59a83

Please sign in to comment.