| Total Complexity | 0 |
| Complexity/F | 0 |
| Lines of Code | 20 |
| Function Count | 0 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { OrderedMap } from 'immutable'; |
||
| 2 | |||
| 3 | import { |
||
| 4 | ERROR_OCCURRED, |
||
| 5 | DISMISS_ERROR |
||
| 6 | } from '../../../constants/ActionTypes'; |
||
| 7 | |||
| 8 | import { |
||
| 9 | dismissError, |
||
| 10 | errorOccurred |
||
| 11 | } from './../../actionHelpers/plugins/errorhandler'; |
||
| 12 | |||
| 13 | import handleActions from './../../../util/handleActions'; |
||
| 14 | |||
| 15 | const initialState = new OrderedMap(); |
||
| 16 | |||
| 17 | export default handleActions({ |
||
| 18 | [ERROR_OCCURRED]: errorOccurred, |
||
| 19 | [DISMISS_ERROR]: dismissError |
||
| 20 | }, initialState); |
||
| 21 |