dc49cd33eb
Since the no-op rewrite is a valid rewrite used to check pages/assets before adding a 404-rewrite this makes sure we don't show the rewriting to auto-export dynamic pages warning from it Closes: https://github.com/vercel/next.js/issues/14736
5 lines
125 B
JavaScript
5 lines
125 B
JavaScript
import { useRouter } from 'next/router'
|
|
|
|
export default function Page() {
|
|
return `auto-export ${useRouter().query.slug}`
|
|
}
|