{"action":"closed","issue":{"url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/87","labels_url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/87/comments","events_url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/87/events","html_url":"https://github.com/kohei-takata/learnyoureact/issues/87","id":125179546,"number":87,"title":"`Props from server` error: map function cannot be applied to undefined.","user":{"login":"yask123","id":1812021,"avatar_url":"https://avatars.githubusercontent.com/u/1812021?v=3","gravatar_id":"","url":"https://api.github.com/users/yask123","html_url":"https://github.com/yask123","followers_url":"https://api.github.com/users/yask123/followers","following_url":"https://api.github.com/users/yask123/following{/other_user}","gists_url":"https://api.github.com/users/yask123/gists{/gist_id}","starred_url":"https://api.github.com/users/yask123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yask123/subscriptions","organizations_url":"https://api.github.com/users/yask123/orgs","repos_url":"https://api.github.com/users/yask123/repos","events_url":"https://api.github.com/users/yask123/events{/privacy}","received_events_url":"https://api.github.com/users/yask123/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T13:49:36Z","updated_at":"2016-01-06T14:00:45Z","closed_at":"2016-01-06T14:00:45Z","body":"I am getting this error on exercise 7:\r\n```\r\n`Props from server` error: map function cannot be applied to undefined.\r\n```\r\n\r\nI tried running your solution file, but I am still getting the error.\r\nMaybe data is not being passed to the view ?\r\nHow can I test in `jsx` file that data has been passed correctly ?\r\n\r\nError Logs:\r\n```\r\nTypeError: Cannot read property 'map' of undefined\r\n   at TodoList.render (/Users/yasksrivastava/learnyoureact/views/index.jsx:17:35)\r\n   at [object Object].ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactCompositeComponent.js:587:34)\r\n   at [object Object].ReactCompositeComponentMixin._renderValidatedComponent (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactCompositeComponent.js:607:32)\r\n   at [object Object].wrapper [as _renderValidatedComponent] (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactPerf.js:66:21)\r\n   at [object Object].ReactCompositeComponentMixin.mountComponent (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactCompositeComponent.js:220:30)\r\n   at [object Object].wrapper [as mountComponent] (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactPerf.js:66:21)\r\n   at Object.ReactReconciler.mountComponent (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactReconciler.js:37:35)\r\n   at ReactDOMComponent.ReactMultiChild.Mixin.mountChildren (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactMultiChild.js:241:44)\r\n   at ReactDOMComponent.Mixin._createContentMarkup (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactDOMComponent.js:591:32)\r\n   at ReactDOMComponent.Mixin.mountComponent (/Users/yasksrivastava/learnyoureact/node_modules/react/lib/ReactDOMComponent.js:479:29)\r\n```\r\nThanks.\r\n\r\n"}}