Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Feb 10, 2020
1 parent 4ff60c7 commit e70c14f
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions test/integration/error-in-error/pages/index.js
Original file line number Diff line number Diff line change
@@ -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 e70c14f

Please sign in to comment.