Commit ce59a830 authored by isstuev's avatar isstuev

shallow route change on the chart page

parent 257e5e20
......@@ -110,7 +110,10 @@ const Chart = () => {
router.push({
pathname: router.pathname,
query: { ...router.query, resolution },
});
},
undefined,
{ shallow: true },
);
}, [ setResolution, router ]);
const handleReset = React.useCallback(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment