rsnext/test/integration/production/pages/error-in-browser-render.js
hiro 956bc2f387
Fix typo on "occured" to "occurred" (#26709)
* fix: typo occured -> occurred

* fix: typo occured -> occurred

* fix: typo occured -> occurred

* fix: typo occured -> occurred

* lint-fix


Co-authored-by: JJ Kasper <jj@jjsweb.site>
2021-06-28 23:02:20 -05:00

9 lines
228 B
JavaScript

import React from 'react'
export default class ErrorInRenderPage extends React.Component {
render() {
if (typeof window !== 'undefined') {
throw new Error('An Expected error occurred')
}
return <div />
}
}