{"action":"created","comment":{"url":"https://api.github.com/repos/wolox-training/lr-react/pulls/comments/239091271","pull_request_review_id":181788696,"id":239091271,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTA5MTI3MQ==","diff_hunk":"@@ -12,6 +13,9 @@ class Game extends Component {\n   };\n \n   componentDidMount() {\n+    if (!localStorage.getItem('token')) {","path":"tic-tac-toe/src/app/screens/Game/index.js","position":12,"original_position":12,"commit_id":"6667ea94031b9fd149ed2aec1af2948250e7d84f","original_commit_id":"6667ea94031b9fd149ed2aec1af2948250e7d84f","user":{"login":"erikankodelia","id":25153866,"node_id":"MDQ6VXNlcjI1MTUzODY2","avatar_url":"https://avatars1.githubusercontent.com/u/25153866?v=4","gravatar_id":"","url":"https://api.github.com/users/erikankodelia","html_url":"https://github.com/erikankodelia","followers_url":"https://api.github.com/users/erikankodelia/followers","following_url":"https://api.github.com/users/erikankodelia/following{/other_user}","gists_url":"https://api.github.com/users/erikankodelia/gists{/gist_id}","starred_url":"https://api.github.com/users/erikankodelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikankodelia/subscriptions","organizations_url":"https://api.github.com/users/erikankodelia/orgs","repos_url":"https://api.github.com/users/erikankodelia/repos","events_url":"https://api.github.com/users/erikankodelia/events{/privacy}","received_events_url":"https://api.github.com/users/erikankodelia/received_events","type":"User","site_admin":false},"body":"You check if the user is logged after mount a Component. This is not correct","created_at":"2018-12-05T14:40:37Z","updated_at":"2018-12-05T14:46:38Z","html_url":"https://github.com/wolox-training/lr-react/pull/18#discussion_r239091271","pull_request_url":"https://api.github.com/repos/wolox-training/lr-react/pulls/18","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/wolox-training/lr-react/pulls/comments/239091271"},"html":{"href":"https://github.com/wolox-training/lr-react/pull/18#discussion_r239091271"},"pull_request":{"href":"https://api.github.com/repos/wolox-training/lr-react/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/wolox-training/lr-react/pulls/18","id":235825807,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1ODI1ODA3","html_url":"https://github.com/wolox-training/lr-react/pull/18","diff_url":"https://github.com/wolox-training/lr-react/pull/18.diff","patch_url":"https://github.com/wolox-training/lr-react/pull/18.patch","issue_url":"https://api.github.com/repos/wolox-training/lr-react/issues/18","number":18,"state":"open","locked":false,"title":"Login","user":{"login":"leonardofrp5","id":25190979,"node_id":"MDQ6VXNlcjI1MTkwOTc5","avatar_url":"https://avatars2.githubusercontent.com/u/25190979?v=4","gravatar_id":"","url":"https://api.github.com/users/leonardofrp5","html_url":"https://github.com/leonardofrp5","followers_url":"https://api.github.com/users/leonardofrp5/followers","following_url":"https://api.github.com/users/leonardofrp5/following{/other_user}","gists_url":"https://api.github.com/users/leonardofrp5/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardofrp5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardofrp5/subscriptions","organizations_url":"https://api.github.com/users/leonardofrp5/orgs","repos_url":"https://api.github.com/users/leonardofrp5/repos","events_url":"https://api.github.com/users/leonardofrp5/events{/privacy}","received_events_url":"https://api.github.com/users/leonardofrp5/received_events","type":"User","site_admin":false},"body":"**Summary**\r\n\r\nI made login whit requirements\r\n\r\n**Trello Card**\r\n\r\nhttps://trello.com/c/7ybNsMA0/9-routing-i-login\r\n\r\n**ScreenShots**\r\n\r\n<img width=\"478\" alt=\"captura de pantalla 2018-12-04 a la s 9 18 16\" src=\"https://user-images.githubusercontent.com/25190979/49447886-9c5ff900-f7a5-11e8-877b-c2305cad6427.png\">\r\n","created_at":"2018-12-04T14:19:22Z","updated_at":"2018-12-05T14:46:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1985d1a0bcd9f4376f06689806c75e022cd9f71d","assignee":{"login":"erikankodelia","id":25153866,"node_id":"MDQ6VXNlcjI1MTUzODY2","avatar_url":"https://avatars1.githubusercontent.com/u/25153866?v=4","gravatar_id":"","url":"https://api.github.com/users/erikankodelia","html_url":"https://github.com/erikankodelia","followers_url":"https://api.github.com/users/erikankodelia/followers","following_url":"https://api.github.com/users/erikankodelia/following{/other_user}","gists_url":"https://api.github.com/users/erikankodelia/gists{/gist_id}","starred_url":"https://api.github.com/users/erikankodelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikankodelia/subscriptions","organizations_url":"https://api.github.com/users/erikankodelia/orgs","repos_url":"https://api.github.com/users/erikankodelia/repos","events_url":"https://api.github.com/users/erikankodelia/events{/privacy}","received_events_url":"https://api.github.com/users/erikankodelia/received_events","type":"User","site_admin":false},"assignees":[{"login":"erikankodelia","id":25153866,"node_id":"MDQ6VXNlcjI1MTUzODY2","avatar_url":"https://avatars1.githubusercontent.com/u/25153866?v=4","gravatar_id":"","url":"https://api.github.com/users/erikankodelia","html_url":"https://github.com/erikankodelia","followers_url":"https://api.github.com/users/erikankodelia/followers","following_url":"https://api.github.com/users/erikankodelia/following{/other_user}","gists_url":"https://api.github.com/users/erikankodelia/gists{/gist_id}","starred_url":"https://api.github.com/users/erikankodelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikankodelia/subscriptions","organizations_url":"https://api.github.com/users/erikankodelia/orgs","repos_url":"https://api.github.com/users/erikankodelia/repos","events_url":"https://api.github.com/users/erikankodelia/events{/privacy}","received_events_url":"https://api.github.com/users/erikankodelia/received_events","type":"User","site_admin":false},{"login":"leonardofrp5","id":25190979,"node_id":"MDQ6VXNlcjI1MTkwOTc5","avatar_url":"https://avatars2.githubusercontent.com/u/25190979?v=4","gravatar_id":"","url":"https://api.github.com/users/leonardofrp5","html_url":"https://github.com/leonardofrp5","followers_url":"https://api.github.com/users/leonardofrp5/followers","following_url":"https://api.github.com/users/leonardofrp5/following{/other_user}","gists_url":"https://api.github.com/users/leonardofrp5/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardofrp5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardofrp5/subscriptions","organizations_url":"https://api.github.com/users/leonardofrp5/orgs","repos_url":"https://api.github.com/users/leonardofrp5/repos","events_url":"https://api.github.com/users/leonardofrp5/events{/privacy}","received_events_url":"https://api.github.com/users/leonardofrp5/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wolox-training/lr-react/pulls/18/commits","review_comments_url":"https://api.github.com/repos/wolox-training/lr-react/pulls/18/comments","review_comment_url":"https://api.github.com/repos/wolox-training/lr-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolox-training/lr-react/issues/18/comments","statuses_url":"https://api.github.com/repos/wolox-training/lr-react/statuses/6667ea94031b9fd149ed2aec1af2948250e7d84f","head":{"label":"wolox-training:login","ref":"login","sha":"6667ea94031b9fd149ed2aec1af2948250e7d84f","user":{"login":"wolox-training","id":14113351,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTEzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":155125134,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxMjUxMzQ=","name":"lr-react","full_name":"wolox-training/lr-react","private":false,"owner":{"login":"wolox-training","id":14113351,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTEzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wolox-training/lr-react","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/lr-react","forks_url":"https://api.github.com/repos/wolox-training/lr-react/forks","keys_url":"https://api.github.com/repos/wolox-training/lr-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/lr-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/lr-react/teams","hooks_url":"https://api.github.com/repos/wolox-training/lr-react/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/lr-react/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/lr-react/events","assignees_url":"https://api.github.com/repos/wolox-training/lr-react/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/lr-react/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/lr-react/tags","blobs_url":"https://api.github.com/repos/wolox-training/lr-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/lr-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/lr-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/lr-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/lr-react/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/lr-react/languages","stargazers_url":"https://api.github.com/repos/wolox-training/lr-react/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/lr-react/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/lr-react/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/lr-react/subscription","commits_url":"https://api.github.com/repos/wolox-training/lr-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/lr-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/lr-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/lr-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/lr-react/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/lr-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/lr-react/merges","archive_url":"https://api.github.com/repos/wolox-training/lr-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/lr-react/downloads","issues_url":"https://api.github.com/repos/wolox-training/lr-react/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/lr-react/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/lr-react/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/lr-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/lr-react/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/lr-react/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/lr-react/deployments","created_at":"2018-10-28T23:16:42Z","updated_at":"2018-12-03T19:43:11Z","pushed_at":"2018-12-05T12:23:49Z","git_url":"git://github.com/wolox-training/lr-react.git","ssh_url":"git@github.com:wolox-training/lr-react.git","clone_url":"https://github.com/wolox-training/lr-react.git","svn_url":"https://github.com/wolox-training/lr-react","homepage":null,"size":28710,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"wolox-training:master","ref":"master","sha":"f5bb80b93ea5ad27cc60080d5d41d993917447bd","user":{"login":"wolox-training","id":14113351,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTEzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":155125134,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxMjUxMzQ=","name":"lr-react","full_name":"wolox-training/lr-react","private":false,"owner":{"login":"wolox-training","id":14113351,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTEzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wolox-training/lr-react","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/lr-react","forks_url":"https://api.github.com/repos/wolox-training/lr-react/forks","keys_url":"https://api.github.com/repos/wolox-training/lr-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/lr-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/lr-react/teams","hooks_url":"https://api.github.com/repos/wolox-training/lr-react/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/lr-react/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/lr-react/events","assignees_url":"https://api.github.com/repos/wolox-training/lr-react/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/lr-react/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/lr-react/tags","blobs_url":"https://api.github.com/repos/wolox-training/lr-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/lr-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/lr-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/lr-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/lr-react/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/lr-react/languages","stargazers_url":"https://api.github.com/repos/wolox-training/lr-react/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/lr-react/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/lr-react/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/lr-react/subscription","commits_url":"https://api.github.com/repos/wolox-training/lr-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/lr-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/lr-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/lr-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/lr-react/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/lr-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/lr-react/merges","archive_url":"https://api.github.com/repos/wolox-training/lr-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/lr-react/downloads","issues_url":"https://api.github.com/repos/wolox-training/lr-react/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/lr-react/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/lr-react/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/lr-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/lr-react/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/lr-react/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/lr-react/deployments","created_at":"2018-10-28T23:16:42Z","updated_at":"2018-12-03T19:43:11Z","pushed_at":"2018-12-05T12:23:49Z","git_url":"git://github.com/wolox-training/lr-react.git","ssh_url":"git@github.com:wolox-training/lr-react.git","clone_url":"https://github.com/wolox-training/lr-react.git","svn_url":"https://github.com/wolox-training/lr-react","homepage":null,"size":28710,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wolox-training/lr-react/pulls/18"},"html":{"href":"https://github.com/wolox-training/lr-react/pull/18"},"issue":{"href":"https://api.github.com/repos/wolox-training/lr-react/issues/18"},"comments":{"href":"https://api.github.com/repos/wolox-training/lr-react/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/wolox-training/lr-react/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/wolox-training/lr-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolox-training/lr-react/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/wolox-training/lr-react/statuses/6667ea94031b9fd149ed2aec1af2948250e7d84f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"erikankodelia"}}