From a638fde14f22d880190109c978baaefac4614e59 Mon Sep 17 00:00:00 2001 From: Mark Mankarious Date: Fri, 25 Aug 2023 18:31:04 +0100 Subject: [PATCH] fix: uses next/router rather than next/navigation --- docs/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/index.tsx b/docs/pages/index.tsx index c6c0916..19c31d5 100644 --- a/docs/pages/index.tsx +++ b/docs/pages/index.tsx @@ -1,5 +1,5 @@ import { useEffect } from 'react'; -import { useRouter } from 'next/navigation'; +import { useRouter } from 'next/router'; export default function Home() { const { push } = useRouter();