bump next & use legacy next/router

This commit is contained in:
jake committed 2022-11-03 09:18:39 -04:00
1 parent b290f0dd41
commit ddb0843bac
6 files changed
+220 -220

No files matched your search

+1 -1
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