{"action":"created","comment":{"url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/comments/177072615","pull_request_review_id":106879968,"id":177072615,"diff_hunk":"@@ -1,55 +1,21 @@\n import React from 'react';\n+import { Greeting } from '../Greeting';\n+import { NumberList } from '../NumberList';\n+import { UsersList } from '../UsersList';\n import { Aside } from '../Aside';\n import { Content } from '../Content';\n+import { users } from '../consts';\n import './main.scss';\n \n-const List = ({ list, field, ordered }) => {\n-  const items = (list || []).map(el => <li key={el.id}>{ el[field || 'title'] }</li>);\n-\n-  return ordered ? <ol>{items}</ol> : <ul>{items}</ul>;\n-};\n-\n-const users = [\n-  { id: 123, name: 'Patrik' },\n-  { id: 345, name: 'Aaron' },\n-  { id: 46, name: 'Teresa' },\n-  { id: 789, name: 'John' }\n-];\n-\n-const Comps = {\n-  List() {\n-    return (\n-      <ul>\n-        <li>1</li>\n-        <li>2</li>\n-      </ul>\n-    );\n-  },\n-  Message(props) {\n-    return <mark>{props.text}</mark>;\n-  }\n-};\n-\n-const Test = () => (\n-  <div>\n-    <Comps.List />\n-    <Comps.Message text=\"Test me\" />\n-  </div>\n-);\n-\n-\n export const Main = () => (\n   <React.Fragment>\n-    <List\n-      list={users}\n-      field=\"name\"\n-    />\n-    <List\n-      list={users}\n-      field=\"name\"\n-      ordered\n+    <Greeting name=\"Yuliia\" />\n+    <NumberList\n+      from=\"3\"\n+      to=\"10\"","path":"src/Main/Main.js","position":58,"original_position":58,"commit_id":"3357bea5d56e2ada9d799a54dc21bf82cb12ee7a","original_commit_id":"3357bea5d56e2ada9d799a54dc21bf82cb12ee7a","user":{"login":"iliatcymbal","id":6584990,"avatar_url":"https://avatars1.githubusercontent.com/u/6584990?v=4","gravatar_id":"","url":"https://api.github.com/users/iliatcymbal","html_url":"https://github.com/iliatcymbal","followers_url":"https://api.github.com/users/iliatcymbal/followers","following_url":"https://api.github.com/users/iliatcymbal/following{/other_user}","gists_url":"https://api.github.com/users/iliatcymbal/gists{/gist_id}","starred_url":"https://api.github.com/users/iliatcymbal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iliatcymbal/subscriptions","organizations_url":"https://api.github.com/users/iliatcymbal/orgs","repos_url":"https://api.github.com/users/iliatcymbal/repos","events_url":"https://api.github.com/users/iliatcymbal/events{/privacy}","received_events_url":"https://api.github.com/users/iliatcymbal/received_events","type":"User","site_admin":false},"body":"you should pass numbers, not strings `from={3}` and `to={10}`","created_at":"2018-03-26T12:33:25Z","updated_at":"2018-03-26T12:37:37Z","html_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo/pull/2#discussion_r177072615","pull_request_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/comments/177072615"},"html":{"href":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo/pull/2#discussion_r177072615"},"pull_request":{"href":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/2","id":177429248,"html_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo/pull/2","diff_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo/pull/2.diff","patch_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo/pull/2.patch","issue_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues/2","number":2,"state":"open","locked":false,"title":"23 react jsx -  Added components according to hometask, clear code according to JSLint","user":{"login":"NamiDorama","id":29948298,"avatar_url":"https://avatars1.githubusercontent.com/u/29948298?v=4","gravatar_id":"","url":"https://api.github.com/users/NamiDorama","html_url":"https://github.com/NamiDorama","followers_url":"https://api.github.com/users/NamiDorama/followers","following_url":"https://api.github.com/users/NamiDorama/following{/other_user}","gists_url":"https://api.github.com/users/NamiDorama/gists{/gist_id}","starred_url":"https://api.github.com/users/NamiDorama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NamiDorama/subscriptions","organizations_url":"https://api.github.com/users/NamiDorama/orgs","repos_url":"https://api.github.com/users/NamiDorama/repos","events_url":"https://api.github.com/users/NamiDorama/events{/privacy}","received_events_url":"https://api.github.com/users/NamiDorama/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-26T12:24:06Z","updated_at":"2018-03-26T12:37:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd7c59785b392bf1ca85fb1643fb5771423a1283","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/2/commits","review_comments_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/2/comments","review_comment_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues/2/comments","statuses_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/statuses/3357bea5d56e2ada9d799a54dc21bf82cb12ee7a","head":{"label":"NamiDorama:23-react-jsx","ref":"23-react-jsx","sha":"3357bea5d56e2ada9d799a54dc21bf82cb12ee7a","user":{"login":"NamiDorama","id":29948298,"avatar_url":"https://avatars1.githubusercontent.com/u/29948298?v=4","gravatar_id":"","url":"https://api.github.com/users/NamiDorama","html_url":"https://github.com/NamiDorama","followers_url":"https://api.github.com/users/NamiDorama/followers","following_url":"https://api.github.com/users/NamiDorama/following{/other_user}","gists_url":"https://api.github.com/users/NamiDorama/gists{/gist_id}","starred_url":"https://api.github.com/users/NamiDorama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NamiDorama/subscriptions","organizations_url":"https://api.github.com/users/NamiDorama/orgs","repos_url":"https://api.github.com/users/NamiDorama/repos","events_url":"https://api.github.com/users/NamiDorama/events{/privacy}","received_events_url":"https://api.github.com/users/NamiDorama/received_events","type":"User","site_admin":false},"repo":{"id":126187634,"name":"Yullia_Voitiuk_ToDo","full_name":"NamiDorama/Yullia_Voitiuk_ToDo","owner":{"login":"NamiDorama","id":29948298,"avatar_url":"https://avatars1.githubusercontent.com/u/29948298?v=4","gravatar_id":"","url":"https://api.github.com/users/NamiDorama","html_url":"https://github.com/NamiDorama","followers_url":"https://api.github.com/users/NamiDorama/followers","following_url":"https://api.github.com/users/NamiDorama/following{/other_user}","gists_url":"https://api.github.com/users/NamiDorama/gists{/gist_id}","starred_url":"https://api.github.com/users/NamiDorama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NamiDorama/subscriptions","organizations_url":"https://api.github.com/users/NamiDorama/orgs","repos_url":"https://api.github.com/users/NamiDorama/repos","events_url":"https://api.github.com/users/NamiDorama/events{/privacy}","received_events_url":"https://api.github.com/users/NamiDorama/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo","description":null,"fork":false,"url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo","forks_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/forks","keys_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/teams","hooks_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/hooks","issue_events_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues/events{/number}","events_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/events","assignees_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/assignees{/user}","branches_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/branches{/branch}","tags_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/tags","blobs_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/statuses/{sha}","languages_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/languages","stargazers_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/stargazers","contributors_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/contributors","subscribers_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/subscribers","subscription_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/subscription","commits_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/contents/{+path}","compare_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/merges","archive_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/downloads","issues_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues{/number}","pulls_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls{/number}","milestones_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/milestones{/number}","notifications_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/labels{/name}","releases_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/releases{/id}","deployments_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/deployments","created_at":"2018-03-21T14:02:08Z","updated_at":"2018-03-25T22:54:23Z","pushed_at":"2018-03-26T12:24:06Z","git_url":"git://github.com/NamiDorama/Yullia_Voitiuk_ToDo.git","ssh_url":"git@github.com:NamiDorama/Yullia_Voitiuk_ToDo.git","clone_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo.git","svn_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo","homepage":null,"size":280,"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":"NamiDorama:master","ref":"master","sha":"75d7ae11c3b08e9d7dd8cbcfeee94293fae3b858","user":{"login":"NamiDorama","id":29948298,"avatar_url":"https://avatars1.githubusercontent.com/u/29948298?v=4","gravatar_id":"","url":"https://api.github.com/users/NamiDorama","html_url":"https://github.com/NamiDorama","followers_url":"https://api.github.com/users/NamiDorama/followers","following_url":"https://api.github.com/users/NamiDorama/following{/other_user}","gists_url":"https://api.github.com/users/NamiDorama/gists{/gist_id}","starred_url":"https://api.github.com/users/NamiDorama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NamiDorama/subscriptions","organizations_url":"https://api.github.com/users/NamiDorama/orgs","repos_url":"https://api.github.com/users/NamiDorama/repos","events_url":"https://api.github.com/users/NamiDorama/events{/privacy}","received_events_url":"https://api.github.com/users/NamiDorama/received_events","type":"User","site_admin":false},"repo":{"id":126187634,"name":"Yullia_Voitiuk_ToDo","full_name":"NamiDorama/Yullia_Voitiuk_ToDo","owner":{"login":"NamiDorama","id":29948298,"avatar_url":"https://avatars1.githubusercontent.com/u/29948298?v=4","gravatar_id":"","url":"https://api.github.com/users/NamiDorama","html_url":"https://github.com/NamiDorama","followers_url":"https://api.github.com/users/NamiDorama/followers","following_url":"https://api.github.com/users/NamiDorama/following{/other_user}","gists_url":"https://api.github.com/users/NamiDorama/gists{/gist_id}","starred_url":"https://api.github.com/users/NamiDorama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NamiDorama/subscriptions","organizations_url":"https://api.github.com/users/NamiDorama/orgs","repos_url":"https://api.github.com/users/NamiDorama/repos","events_url":"https://api.github.com/users/NamiDorama/events{/privacy}","received_events_url":"https://api.github.com/users/NamiDorama/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo","description":null,"fork":false,"url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo","forks_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/forks","keys_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/teams","hooks_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/hooks","issue_events_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues/events{/number}","events_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/events","assignees_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/assignees{/user}","branches_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/branches{/branch}","tags_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/tags","blobs_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/statuses/{sha}","languages_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/languages","stargazers_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/stargazers","contributors_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/contributors","subscribers_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/subscribers","subscription_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/subscription","commits_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/contents/{+path}","compare_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/merges","archive_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/downloads","issues_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues{/number}","pulls_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls{/number}","milestones_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/milestones{/number}","notifications_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/labels{/name}","releases_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/releases{/id}","deployments_url":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/deployments","created_at":"2018-03-21T14:02:08Z","updated_at":"2018-03-25T22:54:23Z","pushed_at":"2018-03-26T12:24:06Z","git_url":"git://github.com/NamiDorama/Yullia_Voitiuk_ToDo.git","ssh_url":"git@github.com:NamiDorama/Yullia_Voitiuk_ToDo.git","clone_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo.git","svn_url":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo","homepage":null,"size":280,"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/NamiDorama/Yullia_Voitiuk_ToDo/pulls/2"},"html":{"href":"https://github.com/NamiDorama/Yullia_Voitiuk_ToDo/pull/2"},"issue":{"href":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues/2"},"comments":{"href":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/NamiDorama/Yullia_Voitiuk_ToDo/statuses/3357bea5d56e2ada9d799a54dc21bf82cb12ee7a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"iliatcymbal"}}