mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
11 lines
299 B
JavaScript
11 lines
299 B
JavaScript
export async function getServerSideProps() {
|
|
// We will use this route to simulate a route cancellation error
|
|
// by clicking its link twice in rapid succession
|
|
await new Promise((resolve) => setTimeout(resolve, 5000))
|
|
return { props: {} }
|
|
}
|
|
|
|
export default function Page() {
|
|
return null
|
|
}
|