Skip to content

Commit

Permalink
Add useRouter() call to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
kcrwfrd committed May 2, 2024
1 parent 7f42030 commit 288b94e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { useRouter } from 'next/router'

/** Add your relevant code here for the issue to reproduce */
export default function Home() {
return null;
const router = useRouter()
return 'foo'
}

0 comments on commit 288b94e

Please sign in to comment.