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