rsnext/test/integration/basepath/pages/error-route.js
Jan Potoms 7dd61b47a2
Fix basepath router events (#14848)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-07-20 16:03:49 -04:00

8 lines
188 B
JavaScript

export async function getServerSideProps() {
// We will use this route to simulate a route change errors
throw new Error('KABOOM!')
}
export default function Page() {
return null
}