{"action":"created","issue":{"url":"https://api.github.com/repos/steevejoseph/bazaar-frontend/issues/19","repository_url":"https://api.github.com/repos/steevejoseph/bazaar-frontend","labels_url":"https://api.github.com/repos/steevejoseph/bazaar-frontend/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/steevejoseph/bazaar-frontend/issues/19/comments","events_url":"https://api.github.com/repos/steevejoseph/bazaar-frontend/issues/19/events","html_url":"https://github.com/steevejoseph/bazaar-frontend/pull/19","id":381995169,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxODEwNTk3","number":19,"title":"Patch for account","user":{"login":"steevejoseph","id":23323071,"node_id":"MDQ6VXNlcjIzMzIzMDcx","avatar_url":"https://avatars0.githubusercontent.com/u/23323071?v=4","gravatar_id":"","url":"https://api.github.com/users/steevejoseph","html_url":"https://github.com/steevejoseph","followers_url":"https://api.github.com/users/steevejoseph/followers","following_url":"https://api.github.com/users/steevejoseph/following{/other_user}","gists_url":"https://api.github.com/users/steevejoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/steevejoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steevejoseph/subscriptions","organizations_url":"https://api.github.com/users/steevejoseph/orgs","repos_url":"https://api.github.com/users/steevejoseph/repos","events_url":"https://api.github.com/users/steevejoseph/events{/privacy}","received_events_url":"https://api.github.com/users/steevejoseph/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-18T20:09:01Z","updated_at":"2018-11-19T04:44:20Z","closed_at":"2018-11-19T04:44:20Z","author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/steevejoseph/bazaar-frontend/pulls/19","html_url":"https://github.com/steevejoseph/bazaar-frontend/pull/19","diff_url":"https://github.com/steevejoseph/bazaar-frontend/pull/19.diff","patch_url":"https://github.com/steevejoseph/bazaar-frontend/pull/19.patch"},"body":"It looks like the account component was mounting before user object came in. I defined the constructor to pull from localStorage if this.props.user hadn't loaded already, since we already had user in lS anyway from login. What are your thoughts?"},"comment":{"url":"https://api.github.com/repos/steevejoseph/bazaar-frontend/issues/comments/439770247","html_url":"https://github.com/steevejoseph/bazaar-frontend/pull/19#issuecomment-439770247","issue_url":"https://api.github.com/repos/steevejoseph/bazaar-frontend/issues/19","id":439770247,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTc3MDI0Nw==","user":{"login":"abeSanchez","id":21165526,"node_id":"MDQ6VXNlcjIxMTY1NTI2","avatar_url":"https://avatars3.githubusercontent.com/u/21165526?v=4","gravatar_id":"","url":"https://api.github.com/users/abeSanchez","html_url":"https://github.com/abeSanchez","followers_url":"https://api.github.com/users/abeSanchez/followers","following_url":"https://api.github.com/users/abeSanchez/following{/other_user}","gists_url":"https://api.github.com/users/abeSanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/abeSanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeSanchez/subscriptions","organizations_url":"https://api.github.com/users/abeSanchez/orgs","repos_url":"https://api.github.com/users/abeSanchez/repos","events_url":"https://api.github.com/users/abeSanchez/events{/privacy}","received_events_url":"https://api.github.com/users/abeSanchez/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T04:44:20Z","updated_at":"2018-11-19T04:44:20Z","author_association":"COLLABORATOR","body":"fixed getting user by this.props.getUserFromLocalStorage(); but calling from a parent component"}}
{"actor":{"display_login":"abeSanchez"}}