{"action":"created","comment":{"url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/comments/205373718","pull_request_review_id":140627314,"id":205373718,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTM3MzcxOA==","diff_hunk":"@@ -1,14 +1,18 @@\n import React, { Component } from 'react'\n-\n+import { context } from 'react';\n import Catalog from \"./src/components/catalog\";\n+import Basket from \"./src/components/basket\";\n+import ReactDOM from 'react-dom';\n+\n \n \n+export const {Provider, Consumer} = React.createContext();\n \n class Header extends Component {","path":"index.js","position":12,"original_position":12,"commit_id":"f39b1ba3b783728acd8c8792e7caa9de95bf791a","original_commit_id":"f39b1ba3b783728acd8c8792e7caa9de95bf791a","user":{"login":"index01d","id":236657,"node_id":"MDQ6VXNlcjIzNjY1Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/236657?v=4","gravatar_id":"","url":"https://api.github.com/users/index01d","html_url":"https://github.com/index01d","followers_url":"https://api.github.com/users/index01d/followers","following_url":"https://api.github.com/users/index01d/following{/other_user}","gists_url":"https://api.github.com/users/index01d/gists{/gist_id}","starred_url":"https://api.github.com/users/index01d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/index01d/subscriptions","organizations_url":"https://api.github.com/users/index01d/orgs","repos_url":"https://api.github.com/users/index01d/repos","events_url":"https://api.github.com/users/index01d/events{/privacy}","received_events_url":"https://api.github.com/users/index01d/received_events","type":"User","site_admin":false},"body":"нужно вынести в отдельный модуль","created_at":"2018-07-26T08:38:23Z","updated_at":"2018-07-26T08:44:22Z","html_url":"https://github.com/yuli-belitskaya/react_lessons/pull/2#discussion_r205373718","pull_request_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/comments/205373718"},"html":{"href":"https://github.com/yuli-belitskaya/react_lessons/pull/2#discussion_r205373718"},"pull_request":{"href":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/2","id":204050232,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MDUwMjMy","html_url":"https://github.com/yuli-belitskaya/react_lessons/pull/2","diff_url":"https://github.com/yuli-belitskaya/react_lessons/pull/2.diff","patch_url":"https://github.com/yuli-belitskaya/react_lessons/pull/2.patch","issue_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues/2","number":2,"state":"open","locked":false,"title":"Homework lesson 3","user":{"login":"yuli-belitskaya","id":35346658,"node_id":"MDQ6VXNlcjM1MzQ2NjU4","avatar_url":"https://avatars2.githubusercontent.com/u/35346658?v=4","gravatar_id":"","url":"https://api.github.com/users/yuli-belitskaya","html_url":"https://github.com/yuli-belitskaya","followers_url":"https://api.github.com/users/yuli-belitskaya/followers","following_url":"https://api.github.com/users/yuli-belitskaya/following{/other_user}","gists_url":"https://api.github.com/users/yuli-belitskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/yuli-belitskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuli-belitskaya/subscriptions","organizations_url":"https://api.github.com/users/yuli-belitskaya/orgs","repos_url":"https://api.github.com/users/yuli-belitskaya/repos","events_url":"https://api.github.com/users/yuli-belitskaya/events{/privacy}","received_events_url":"https://api.github.com/users/yuli-belitskaya/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-26T07:23:21Z","updated_at":"2018-07-26T08:44:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b3f5a8f96b7b2244a8da3f312c37b23af8e2883","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/2/commits","review_comments_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/2/comments","review_comment_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues/2/comments","statuses_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/statuses/f39b1ba3b783728acd8c8792e7caa9de95bf791a","head":{"label":"yuli-belitskaya:lesson3","ref":"lesson3","sha":"f39b1ba3b783728acd8c8792e7caa9de95bf791a","user":{"login":"yuli-belitskaya","id":35346658,"node_id":"MDQ6VXNlcjM1MzQ2NjU4","avatar_url":"https://avatars2.githubusercontent.com/u/35346658?v=4","gravatar_id":"","url":"https://api.github.com/users/yuli-belitskaya","html_url":"https://github.com/yuli-belitskaya","followers_url":"https://api.github.com/users/yuli-belitskaya/followers","following_url":"https://api.github.com/users/yuli-belitskaya/following{/other_user}","gists_url":"https://api.github.com/users/yuli-belitskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/yuli-belitskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuli-belitskaya/subscriptions","organizations_url":"https://api.github.com/users/yuli-belitskaya/orgs","repos_url":"https://api.github.com/users/yuli-belitskaya/repos","events_url":"https://api.github.com/users/yuli-belitskaya/events{/privacy}","received_events_url":"https://api.github.com/users/yuli-belitskaya/received_events","type":"User","site_admin":false},"repo":{"id":140473167,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA0NzMxNjc=","name":"react_lessons","full_name":"yuli-belitskaya/react_lessons","owner":{"login":"yuli-belitskaya","id":35346658,"node_id":"MDQ6VXNlcjM1MzQ2NjU4","avatar_url":"https://avatars2.githubusercontent.com/u/35346658?v=4","gravatar_id":"","url":"https://api.github.com/users/yuli-belitskaya","html_url":"https://github.com/yuli-belitskaya","followers_url":"https://api.github.com/users/yuli-belitskaya/followers","following_url":"https://api.github.com/users/yuli-belitskaya/following{/other_user}","gists_url":"https://api.github.com/users/yuli-belitskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/yuli-belitskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuli-belitskaya/subscriptions","organizations_url":"https://api.github.com/users/yuli-belitskaya/orgs","repos_url":"https://api.github.com/users/yuli-belitskaya/repos","events_url":"https://api.github.com/users/yuli-belitskaya/events{/privacy}","received_events_url":"https://api.github.com/users/yuli-belitskaya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuli-belitskaya/react_lessons","description":null,"fork":false,"url":"https://api.github.com/repos/yuli-belitskaya/react_lessons","forks_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/forks","keys_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/teams","hooks_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/hooks","issue_events_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues/events{/number}","events_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/events","assignees_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/assignees{/user}","branches_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/branches{/branch}","tags_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/tags","blobs_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/statuses/{sha}","languages_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/languages","stargazers_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/stargazers","contributors_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/contributors","subscribers_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/subscribers","subscription_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/subscription","commits_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/contents/{+path}","compare_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/merges","archive_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/downloads","issues_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues{/number}","pulls_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls{/number}","milestones_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/milestones{/number}","notifications_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/labels{/name}","releases_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/releases{/id}","deployments_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/deployments","created_at":"2018-07-10T18:35:20Z","updated_at":"2018-07-25T06:19:13Z","pushed_at":"2018-07-26T07:23:22Z","git_url":"git://github.com/yuli-belitskaya/react_lessons.git","ssh_url":"git@github.com:yuli-belitskaya/react_lessons.git","clone_url":"https://github.com/yuli-belitskaya/react_lessons.git","svn_url":"https://github.com/yuli-belitskaya/react_lessons","homepage":null,"size":1575,"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":"yuli-belitskaya:master","ref":"master","sha":"5f0cb1950e8b2c9f95fe9be458e6505a0cdabfcc","user":{"login":"yuli-belitskaya","id":35346658,"node_id":"MDQ6VXNlcjM1MzQ2NjU4","avatar_url":"https://avatars2.githubusercontent.com/u/35346658?v=4","gravatar_id":"","url":"https://api.github.com/users/yuli-belitskaya","html_url":"https://github.com/yuli-belitskaya","followers_url":"https://api.github.com/users/yuli-belitskaya/followers","following_url":"https://api.github.com/users/yuli-belitskaya/following{/other_user}","gists_url":"https://api.github.com/users/yuli-belitskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/yuli-belitskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuli-belitskaya/subscriptions","organizations_url":"https://api.github.com/users/yuli-belitskaya/orgs","repos_url":"https://api.github.com/users/yuli-belitskaya/repos","events_url":"https://api.github.com/users/yuli-belitskaya/events{/privacy}","received_events_url":"https://api.github.com/users/yuli-belitskaya/received_events","type":"User","site_admin":false},"repo":{"id":140473167,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA0NzMxNjc=","name":"react_lessons","full_name":"yuli-belitskaya/react_lessons","owner":{"login":"yuli-belitskaya","id":35346658,"node_id":"MDQ6VXNlcjM1MzQ2NjU4","avatar_url":"https://avatars2.githubusercontent.com/u/35346658?v=4","gravatar_id":"","url":"https://api.github.com/users/yuli-belitskaya","html_url":"https://github.com/yuli-belitskaya","followers_url":"https://api.github.com/users/yuli-belitskaya/followers","following_url":"https://api.github.com/users/yuli-belitskaya/following{/other_user}","gists_url":"https://api.github.com/users/yuli-belitskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/yuli-belitskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuli-belitskaya/subscriptions","organizations_url":"https://api.github.com/users/yuli-belitskaya/orgs","repos_url":"https://api.github.com/users/yuli-belitskaya/repos","events_url":"https://api.github.com/users/yuli-belitskaya/events{/privacy}","received_events_url":"https://api.github.com/users/yuli-belitskaya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuli-belitskaya/react_lessons","description":null,"fork":false,"url":"https://api.github.com/repos/yuli-belitskaya/react_lessons","forks_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/forks","keys_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/teams","hooks_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/hooks","issue_events_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues/events{/number}","events_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/events","assignees_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/assignees{/user}","branches_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/branches{/branch}","tags_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/tags","blobs_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/statuses/{sha}","languages_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/languages","stargazers_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/stargazers","contributors_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/contributors","subscribers_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/subscribers","subscription_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/subscription","commits_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/contents/{+path}","compare_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/merges","archive_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/downloads","issues_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues{/number}","pulls_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls{/number}","milestones_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/milestones{/number}","notifications_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/labels{/name}","releases_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/releases{/id}","deployments_url":"https://api.github.com/repos/yuli-belitskaya/react_lessons/deployments","created_at":"2018-07-10T18:35:20Z","updated_at":"2018-07-25T06:19:13Z","pushed_at":"2018-07-26T07:23:22Z","git_url":"git://github.com/yuli-belitskaya/react_lessons.git","ssh_url":"git@github.com:yuli-belitskaya/react_lessons.git","clone_url":"https://github.com/yuli-belitskaya/react_lessons.git","svn_url":"https://github.com/yuli-belitskaya/react_lessons","homepage":null,"size":1575,"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/yuli-belitskaya/react_lessons/pulls/2"},"html":{"href":"https://github.com/yuli-belitskaya/react_lessons/pull/2"},"issue":{"href":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues/2"},"comments":{"href":"https://api.github.com/repos/yuli-belitskaya/react_lessons/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuli-belitskaya/react_lessons/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/yuli-belitskaya/react_lessons/statuses/f39b1ba3b783728acd8c8792e7caa9de95bf791a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"index01d"}}