Skip to content

Commit

Permalink
Merge branch 'make-fatal' into ssg-preview-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Feb 10, 2020
2 parents ecc173d + e70c14f commit 9da537f
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions test/integration/error-in-error/pages/index.js
@@ -1,10 +1,16 @@
import Link from 'next/link'

export default () => (
<>
<h3>Hi 👋</h3>
<Link href="/a-non-existing-page">
<a>a lnik to no-where</a>
</Link>
</>
)
function Index() {
return (
<>
<h3>Hi 👋</h3>
<Link href="/a-non-existing-page">
<a>a link to no-where</a>
</Link>
</>
)
}

Index.getInitialProps = () => ({})

export default Index

0 comments on commit 9da537f

Please sign in to comment.