diff --git a/pages/new/index.tsx b/pages/new/index.tsx index 86907577..dc4fe4c9 100644 --- a/pages/new/index.tsx +++ b/pages/new/index.tsx @@ -35,8 +35,7 @@ const NewRoute: React.FC = ({ const router = useRouter() function callback(path: string) { - // This is scuffed, how do we do this natively? - window.history.replaceState(null, `Grid Tool`, `${path}`) + router.push(path, undefined, { shallow: true }) } useEffect(() => {