fix: uses next/router rather than next/navigation

This commit is contained in:
Mark Mankarious 2023-08-25 18:31:04 +01:00
parent b34a2b27d3
commit a638fde14f

View file

@ -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();