956bc2f387
* 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>
9 lines
228 B
JavaScript
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 />
|
|
}
|
|
}
|