Jack Mallers
7 years ago
4 changed files with 21 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||
|
import React from 'react' |
||||
|
import PropTypes from 'prop-types' |
||||
|
import styles from './GlobalError' |
||||
|
|
||||
|
const GlobalError = ({ error }) => { |
||||
|
console.log('error: ', error) |
||||
|
return ( |
||||
|
<div> |
||||
|
yo global error mf |
||||
|
</div> |
||||
|
) |
||||
|
} |
||||
|
|
||||
|
GlobalError.propTypes = {} |
||||
|
|
||||
|
export default GlobalError |
@ -0,0 +1,3 @@ |
|||||
|
import GlobalError from './GlobalError' |
||||
|
|
||||
|
export default GlobalError |
Loading…
Reference in new issue