{"action":"closed","issue":{"url":"https://api.github.com/repos/okgrow/react-native-copilot/issues/18","repository_url":"https://api.github.com/repos/okgrow/react-native-copilot","labels_url":"https://api.github.com/repos/okgrow/react-native-copilot/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/okgrow/react-native-copilot/issues/18/comments","events_url":"https://api.github.com/repos/okgrow/react-native-copilot/issues/18/events","html_url":"https://github.com/okgrow/react-native-copilot/issues/18","id":295863866,"number":18,"title":"Cannot read property \"text\" of null  (CopilotModal.render)","user":{"login":"Luckygirlllll","id":10096433,"avatar_url":"https://avatars2.githubusercontent.com/u/10096433?v=4","gravatar_id":"","url":"https://api.github.com/users/Luckygirlllll","html_url":"https://github.com/Luckygirlllll","followers_url":"https://api.github.com/users/Luckygirlllll/followers","following_url":"https://api.github.com/users/Luckygirlllll/following{/other_user}","gists_url":"https://api.github.com/users/Luckygirlllll/gists{/gist_id}","starred_url":"https://api.github.com/users/Luckygirlllll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luckygirlllll/subscriptions","organizations_url":"https://api.github.com/users/Luckygirlllll/orgs","repos_url":"https://api.github.com/users/Luckygirlllll/repos","events_url":"https://api.github.com/users/Luckygirlllll/events{/privacy}","received_events_url":"https://api.github.com/users/Luckygirlllll/received_events","type":"User","site_admin":false},"labels":[{"id":712550547,"url":"https://api.github.com/repos/okgrow/react-native-copilot/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-09T13:02:46Z","updated_at":"2018-05-02T19:51:04Z","closed_at":"2018-05-02T19:51:04Z","author_association":"NONE","body":"So I have such code, when I'm running it I get the error: \"Cannot read property text of null. Why is that? What should I change in the code, in order to run it without error?    \r\n\r\n```\r\nimport { copilot,walkthroughable, CopilotStep } from '@okgrow/react-native-copilot';\r\nconst CopilotText = walkthroughable(Text);\r\n\r\nclass Home extends Component {\r\n\r\ncomponentWillMount(){\r\n this.props.start();\r\n}\r\n\r\nrender() {\r\nreturn (\r\n  <View>     \r\n    <CopilotStep text=\"Hint 1\" order={1} name=\"openApp\">\r\n       <CopilotText>Step 1 !</CopilotText>\r\n    </CopilotStep>\r\n    </View>\r\n    <View>\r\n      <CopilotStep text=\"Hint 2\" order={2} name=\"openApp2\">\r\n       <CopilotText>Step 2!</CopilotText>\r\n    </CopilotStep>\r\n    </View>\r\n    <View>\r\n    <CopilotStep text=\"Hint 3!\" order={3} name=\"openApp3\">\r\n       <CopilotText>Step 3</CopilotText>\r\n    </CopilotStep>\r\n    </View>\r\n)}\r\n}\r\n\r\nexport default copilot()(Home); \r\n```\r\n\r\n<img width=\"375\" alt=\"screen shot 2018-02-09 at 14 40 30\" src=\"https://user-images.githubusercontent.com/10096433/36029046-3ccc8cd2-0daa-11e8-95bb-a7df093935ec.png\">\r\n\r\n"}}
{"actor":{"display_login":"mohebifar"}}