1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:06:36 -04:00

Revert "bump next & use legacy next/router"

This reverts commit ddb0843bac.
This commit is contained in:
2022-11-03 15:13:29 -04:00
parent ddb0843bac
commit 670dc1b6e2
6 changed files with 220 additions and 220 deletions

View File

@ -19,7 +19,7 @@ export type AppProps = NextAppProps & {
};
const App = ({ Component, pageProps }: AppProps) => {
const router = useRouter(true);
const router = useRouter();
// get this page's URL with full domain, and hack around query parameters and anchors
// NOTE: this assumes trailing slashes are enabled in next.config.js