| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 9 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { connect } from 'react-redux' |
||
| 2 | import ErrorBoundary from 'error/components/ErrorBoundary' |
||
| 3 | import { getAppError } from 'core/state/app/selectors' |
||
| 4 | |||
| 5 | const mapStateToProps = state => ({ |
||
| 6 | reduxError: getAppError(state) |
||
| 7 | }) |
||
| 8 | |||
| 9 | export default connect(mapStateToProps)(ErrorBoundary) |
||
| 10 |