rsnext/test/integration/render-error-on-module-error/pages/index.js
2020-01-14 15:38:31 -05:00

9 lines
167 B
JavaScript

if (typeof window !== 'undefined') {
throw new Error('fail module evaluation')
}
const Index = () => 'hi'
Index.getInitialProps = () => ({})
export default Index