{"action":"closed","issue":{"url":"https://api.github.com/repos/tonyhb/redux-ui/issues/24","repository_url":"https://api.github.com/repos/tonyhb/redux-ui","labels_url":"https://api.github.com/repos/tonyhb/redux-ui/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/tonyhb/redux-ui/issues/24/comments","events_url":"https://api.github.com/repos/tonyhb/redux-ui/issues/24/events","html_url":"https://github.com/tonyhb/redux-ui/issues/24","id":142983891,"number":24,"title":"'Uncaught TypeError: state.get is not a function' after adding the reducer","user":{"login":"teeli","id":294353,"avatar_url":"https://avatars.githubusercontent.com/u/294353?v=3","gravatar_id":"","url":"https://api.github.com/users/teeli","html_url":"https://github.com/teeli","followers_url":"https://api.github.com/users/teeli/followers","following_url":"https://api.github.com/users/teeli/following{/other_user}","gists_url":"https://api.github.com/users/teeli/gists{/gist_id}","starred_url":"https://api.github.com/users/teeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teeli/subscriptions","organizations_url":"https://api.github.com/users/teeli/orgs","repos_url":"https://api.github.com/users/teeli/repos","events_url":"https://api.github.com/users/teeli/events{/privacy}","received_events_url":"https://api.github.com/users/teeli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-23T14:58:43Z","updated_at":"2016-04-22T11:06:19Z","closed_at":"2016-04-22T11:06:19Z","body":"I added the ui reducer as the last reducer in my combineReducers function, but I an error `Uncaught TypeError: state.get is not a function` which points to [line 97 in action-reducer.js](https://github.com/tonyhb/redux-ui/blob/master/src/action-reducer.js#L97)\r\n\r\nAny ideas why this is not working?\r\n\r\nMy `reducers/index.js`:\r\n```\r\nimport { combineReducers } from 'redux';\r\nimport { reducer as uiReducer } from 'redux-ui';\r\nimport session from './session';\r\nimport users from './users';\r\n\r\nexport default combineReducers({\r\n  session,\r\n  users,\r\n  ui: uiReducer\r\n});\r\n```\r\n"}}