1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 14:46:37 -04:00

bump next & use legacy next/router

This commit is contained in:
2022-11-03 09:18:39 -04:00
parent b290f0dd41
commit ddb0843bac
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();
const router = useRouter(true);
// 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