{"action":"created","comment":{"url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/comments/200418183","pull_request_review_id":134731367,"id":200418183,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDQxODE4Mw==","diff_hunk":"@@ -14,25 +14,23 @@ const Body = styled.div`\n   padding: 0;\n `;\n \n-class App extends Component {\n-  render() {\n-    return (\n-      <BrowserRouter>\n-        <Body>\n-          <Header />\n-          <Switch>\n-            <Route exact path=\"/:user/with_replies\" component={Profile} />\n-            <Route exact path=\"/:user/media\" component={Profile} />\n-            <Route exact path=\"/:user/following\" component={Profile} />\n-            <Route exact path=\"/:user/followers\" component={Profile} />\n-            <Route exact path=\"/:user/likes\" component={Profile} />\n-            <Route exact path=\"/:user\" component={Profile} />\n-            <Redirect to=\"/EveryInteract\" />\n-          </Switch>\n-        </Body>\n-      </BrowserRouter>\n-    );\n-  }\n-}\n-\n+const App = () => (\n+  <BrowserRouter>\n+    <Body>\n+      <Header />\n+      <Switch>\n+        <Route path=\"/i\" component={SomePage} />\n+        <Route path=\"/hashtags\" component={SomePage} />\n+        <Route path=\"/trends\" component={SomePage} />\n+        <Route exact path=\"/:user/with_replies\" component={Profile} />\n+        <Route exact path=\"/:user/media\" component={Profile} />\n+        <Route exact path=\"/:user/following\" component={Profile} />\n+        <Route exact path=\"/:user/followers\" component={Profile} />\n+        <Route exact path=\"/:user/likes\" component={Profile} />","path":"src/App.js","position":45,"original_position":46,"commit_id":"47a4d49c558b262b1d3a8c2a707f7be6ee616c7a","original_commit_id":"08bdbf20cefdb6d185644b38a94130fdc1cc67c7","user":{"login":"okokanya","id":35534478,"node_id":"MDQ6VXNlcjM1NTM0NDc4","avatar_url":"https://avatars3.githubusercontent.com/u/35534478?v=4","gravatar_id":"","url":"https://api.github.com/users/okokanya","html_url":"https://github.com/okokanya","followers_url":"https://api.github.com/users/okokanya/followers","following_url":"https://api.github.com/users/okokanya/following{/other_user}","gists_url":"https://api.github.com/users/okokanya/gists{/gist_id}","starred_url":"https://api.github.com/users/okokanya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okokanya/subscriptions","organizations_url":"https://api.github.com/users/okokanya/orgs","repos_url":"https://api.github.com/users/okokanya/repos","events_url":"https://api.github.com/users/okokanya/events{/privacy}","received_events_url":"https://api.github.com/users/okokanya/received_events","type":"User","site_admin":false},"body":"убрала","created_at":"2018-07-05T16:41:50Z","updated_at":"2018-07-05T16:41:50Z","html_url":"https://github.com/okokanya/twitter-demo-frontend/pull/2#discussion_r200418183","pull_request_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/comments/200418183"},"html":{"href":"https://github.com/okokanya/twitter-demo-frontend/pull/2#discussion_r200418183"},"pull_request":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/2"}},"in_reply_to_id":199291122},"pull_request":{"url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/2","id":197645795,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NjQ1Nzk1","html_url":"https://github.com/okokanya/twitter-demo-frontend/pull/2","diff_url":"https://github.com/okokanya/twitter-demo-frontend/pull/2.diff","patch_url":"https://github.com/okokanya/twitter-demo-frontend/pull/2.patch","issue_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues/2","number":2,"state":"open","locked":false,"title":"Feat/routing","user":{"login":"okokanya","id":35534478,"node_id":"MDQ6VXNlcjM1NTM0NDc4","avatar_url":"https://avatars3.githubusercontent.com/u/35534478?v=4","gravatar_id":"","url":"https://api.github.com/users/okokanya","html_url":"https://github.com/okokanya","followers_url":"https://api.github.com/users/okokanya/followers","following_url":"https://api.github.com/users/okokanya/following{/other_user}","gists_url":"https://api.github.com/users/okokanya/gists{/gist_id}","starred_url":"https://api.github.com/users/okokanya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okokanya/subscriptions","organizations_url":"https://api.github.com/users/okokanya/orgs","repos_url":"https://api.github.com/users/okokanya/repos","events_url":"https://api.github.com/users/okokanya/events{/privacy}","received_events_url":"https://api.github.com/users/okokanya/received_events","type":"User","site_admin":false},"body":"руты настроены только для юзера, airbnb-конфиг еще не подключила","created_at":"2018-06-27T07:56:20Z","updated_at":"2018-07-05T16:41:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f48fe7d1b1d15cd5dd9eda9a7cfa4622428b25b4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/2/commits","review_comments_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/2/comments","review_comment_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues/2/comments","statuses_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/statuses/47a4d49c558b262b1d3a8c2a707f7be6ee616c7a","head":{"label":"okokanya:feat/routing","ref":"feat/routing","sha":"47a4d49c558b262b1d3a8c2a707f7be6ee616c7a","user":{"login":"okokanya","id":35534478,"node_id":"MDQ6VXNlcjM1NTM0NDc4","avatar_url":"https://avatars3.githubusercontent.com/u/35534478?v=4","gravatar_id":"","url":"https://api.github.com/users/okokanya","html_url":"https://github.com/okokanya","followers_url":"https://api.github.com/users/okokanya/followers","following_url":"https://api.github.com/users/okokanya/following{/other_user}","gists_url":"https://api.github.com/users/okokanya/gists{/gist_id}","starred_url":"https://api.github.com/users/okokanya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okokanya/subscriptions","organizations_url":"https://api.github.com/users/okokanya/orgs","repos_url":"https://api.github.com/users/okokanya/repos","events_url":"https://api.github.com/users/okokanya/events{/privacy}","received_events_url":"https://api.github.com/users/okokanya/received_events","type":"User","site_admin":false},"repo":{"id":137893623,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc4OTM2MjM=","name":"twitter-demo-frontend","full_name":"okokanya/twitter-demo-frontend","owner":{"login":"okokanya","id":35534478,"node_id":"MDQ6VXNlcjM1NTM0NDc4","avatar_url":"https://avatars3.githubusercontent.com/u/35534478?v=4","gravatar_id":"","url":"https://api.github.com/users/okokanya","html_url":"https://github.com/okokanya","followers_url":"https://api.github.com/users/okokanya/followers","following_url":"https://api.github.com/users/okokanya/following{/other_user}","gists_url":"https://api.github.com/users/okokanya/gists{/gist_id}","starred_url":"https://api.github.com/users/okokanya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okokanya/subscriptions","organizations_url":"https://api.github.com/users/okokanya/orgs","repos_url":"https://api.github.com/users/okokanya/repos","events_url":"https://api.github.com/users/okokanya/events{/privacy}","received_events_url":"https://api.github.com/users/okokanya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/okokanya/twitter-demo-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/okokanya/twitter-demo-frontend","forks_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/forks","keys_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/teams","hooks_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/hooks","issue_events_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/events","assignees_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/tags","blobs_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/languages","stargazers_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/stargazers","contributors_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/contributors","subscribers_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/subscribers","subscription_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/subscription","commits_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/merges","archive_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/downloads","issues_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/labels{/name}","releases_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/deployments","created_at":"2018-06-19T13:14:20Z","updated_at":"2018-06-25T21:03:06Z","pushed_at":"2018-07-03T12:17:51Z","git_url":"git://github.com/okokanya/twitter-demo-frontend.git","ssh_url":"git@github.com:okokanya/twitter-demo-frontend.git","clone_url":"https://github.com/okokanya/twitter-demo-frontend.git","svn_url":"https://github.com/okokanya/twitter-demo-frontend","homepage":null,"size":13483,"stargazers_count":0,"watchers_count":0,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"okokanya:master","ref":"master","sha":"078f7b1b408c7cb5fcb714e24a7fc6f35c897b38","user":{"login":"okokanya","id":35534478,"node_id":"MDQ6VXNlcjM1NTM0NDc4","avatar_url":"https://avatars3.githubusercontent.com/u/35534478?v=4","gravatar_id":"","url":"https://api.github.com/users/okokanya","html_url":"https://github.com/okokanya","followers_url":"https://api.github.com/users/okokanya/followers","following_url":"https://api.github.com/users/okokanya/following{/other_user}","gists_url":"https://api.github.com/users/okokanya/gists{/gist_id}","starred_url":"https://api.github.com/users/okokanya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okokanya/subscriptions","organizations_url":"https://api.github.com/users/okokanya/orgs","repos_url":"https://api.github.com/users/okokanya/repos","events_url":"https://api.github.com/users/okokanya/events{/privacy}","received_events_url":"https://api.github.com/users/okokanya/received_events","type":"User","site_admin":false},"repo":{"id":137893623,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc4OTM2MjM=","name":"twitter-demo-frontend","full_name":"okokanya/twitter-demo-frontend","owner":{"login":"okokanya","id":35534478,"node_id":"MDQ6VXNlcjM1NTM0NDc4","avatar_url":"https://avatars3.githubusercontent.com/u/35534478?v=4","gravatar_id":"","url":"https://api.github.com/users/okokanya","html_url":"https://github.com/okokanya","followers_url":"https://api.github.com/users/okokanya/followers","following_url":"https://api.github.com/users/okokanya/following{/other_user}","gists_url":"https://api.github.com/users/okokanya/gists{/gist_id}","starred_url":"https://api.github.com/users/okokanya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okokanya/subscriptions","organizations_url":"https://api.github.com/users/okokanya/orgs","repos_url":"https://api.github.com/users/okokanya/repos","events_url":"https://api.github.com/users/okokanya/events{/privacy}","received_events_url":"https://api.github.com/users/okokanya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/okokanya/twitter-demo-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/okokanya/twitter-demo-frontend","forks_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/forks","keys_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/teams","hooks_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/hooks","issue_events_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/events","assignees_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/tags","blobs_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/languages","stargazers_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/stargazers","contributors_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/contributors","subscribers_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/subscribers","subscription_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/subscription","commits_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/merges","archive_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/downloads","issues_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/labels{/name}","releases_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/okokanya/twitter-demo-frontend/deployments","created_at":"2018-06-19T13:14:20Z","updated_at":"2018-06-25T21:03:06Z","pushed_at":"2018-07-03T12:17:51Z","git_url":"git://github.com/okokanya/twitter-demo-frontend.git","ssh_url":"git@github.com:okokanya/twitter-demo-frontend.git","clone_url":"https://github.com/okokanya/twitter-demo-frontend.git","svn_url":"https://github.com/okokanya/twitter-demo-frontend","homepage":null,"size":13483,"stargazers_count":0,"watchers_count":0,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/2"},"html":{"href":"https://github.com/okokanya/twitter-demo-frontend/pull/2"},"issue":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues/2"},"comments":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/okokanya/twitter-demo-frontend/statuses/47a4d49c558b262b1d3a8c2a707f7be6ee616c7a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"okokanya"}}