{"action":"created","comment":{"url":"https://api.github.com/repos/Alaev/muncher-front/pulls/comments/147768144","pull_request_review_id":72910286,"id":147768144,"diff_hunk":"@@ -1,23 +1,20 @@\n import styled from 'styled-components';\n import PropTypes from 'prop-types';\n import React from 'react';\n-import MenuElementChild from '../MenuElementChild/MenuElementChild'\n+import MenuElementChild from '../MenuElementChild/MenuElementChild';\n \n const MenuContent = styled.div`\n-margin: 35px 18px;\n-font-size: 18px;\n+  margin: 35px 18px;\n+  font-size: 18px;\n `;\n \n-const MenuElements = ({items}) => (\n-<MenuContent>\n-    {items.map(item => (\n-    <MenuElementChild key = {item.price} {...item} />\n-     ))}\n-</MenuContent>\n+const MenuElements = ({ items }) => (\n+  <MenuContent>\n+    {items.map(item => <MenuElementChild key={item.id} {...item} />)}\n+  </MenuContent>\n );\n \n-export default MenuElements;\n-\n MenuElements.propTypes = {\n-    items:PropTypes.arrayOf(Object).isRequired\n-  };\n\\ No newline at end of file\n+  items: PropTypes.arrayOf(Object).isRequired","path":"src/components/MenuElements/MenuElements.js","position":null,"original_position":32,"commit_id":"963259db0f3f8551e69a6584ee3388dfc2a8a7ca","original_commit_id":"963259db0f3f8551e69a6584ee3388dfc2a8a7ca","user":{"login":"Alaev","id":3925474,"avatar_url":"https://avatars1.githubusercontent.com/u/3925474?v=4","gravatar_id":"","url":"https://api.github.com/users/Alaev","html_url":"https://github.com/Alaev","followers_url":"https://api.github.com/users/Alaev/followers","following_url":"https://api.github.com/users/Alaev/following{/other_user}","gists_url":"https://api.github.com/users/Alaev/gists{/gist_id}","starred_url":"https://api.github.com/users/Alaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alaev/subscriptions","organizations_url":"https://api.github.com/users/Alaev/orgs","repos_url":"https://api.github.com/users/Alaev/repos","events_url":"https://api.github.com/users/Alaev/events{/privacy}","received_events_url":"https://api.github.com/users/Alaev/received_events","type":"User","site_admin":false},"body":"@gilbaadani @andreykishtov @uvluni \r\nwould it be better to use a `defaultProps ` here?\r\nas if you don't pass here array with an object it will crash... no?","created_at":"2017-10-30T17:02:02Z","updated_at":"2017-10-30T17:02:10Z","html_url":"https://github.com/Alaev/muncher-front/pull/9#discussion_r147768144","pull_request_url":"https://api.github.com/repos/Alaev/muncher-front/pulls/9","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Alaev/muncher-front/pulls/comments/147768144"},"html":{"href":"https://github.com/Alaev/muncher-front/pull/9#discussion_r147768144"},"pull_request":{"href":"https://api.github.com/repos/Alaev/muncher-front/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Alaev/muncher-front/pulls/9","id":149404892,"html_url":"https://github.com/Alaev/muncher-front/pull/9","diff_url":"https://github.com/Alaev/muncher-front/pull/9.diff","patch_url":"https://github.com/Alaev/muncher-front/pull/9.patch","issue_url":"https://api.github.com/repos/Alaev/muncher-front/issues/9","number":9,"state":"open","locked":false,"title":"Added menu component","user":{"login":"gilbaadani","id":24528750,"avatar_url":"https://avatars3.githubusercontent.com/u/24528750?v=4","gravatar_id":"","url":"https://api.github.com/users/gilbaadani","html_url":"https://github.com/gilbaadani","followers_url":"https://api.github.com/users/gilbaadani/followers","following_url":"https://api.github.com/users/gilbaadani/following{/other_user}","gists_url":"https://api.github.com/users/gilbaadani/gists{/gist_id}","starred_url":"https://api.github.com/users/gilbaadani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilbaadani/subscriptions","organizations_url":"https://api.github.com/users/gilbaadani/orgs","repos_url":"https://api.github.com/users/gilbaadani/repos","events_url":"https://api.github.com/users/gilbaadani/events{/privacy}","received_events_url":"https://api.github.com/users/gilbaadani/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-29T20:24:26Z","updated_at":"2017-10-30T17:02:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d58d3d0b81356f79d20b46fcdf0634a260205452","assignee":{"login":"gilbaadani","id":24528750,"avatar_url":"https://avatars3.githubusercontent.com/u/24528750?v=4","gravatar_id":"","url":"https://api.github.com/users/gilbaadani","html_url":"https://github.com/gilbaadani","followers_url":"https://api.github.com/users/gilbaadani/followers","following_url":"https://api.github.com/users/gilbaadani/following{/other_user}","gists_url":"https://api.github.com/users/gilbaadani/gists{/gist_id}","starred_url":"https://api.github.com/users/gilbaadani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilbaadani/subscriptions","organizations_url":"https://api.github.com/users/gilbaadani/orgs","repos_url":"https://api.github.com/users/gilbaadani/repos","events_url":"https://api.github.com/users/gilbaadani/events{/privacy}","received_events_url":"https://api.github.com/users/gilbaadani/received_events","type":"User","site_admin":false},"assignees":[{"login":"gilbaadani","id":24528750,"avatar_url":"https://avatars3.githubusercontent.com/u/24528750?v=4","gravatar_id":"","url":"https://api.github.com/users/gilbaadani","html_url":"https://github.com/gilbaadani","followers_url":"https://api.github.com/users/gilbaadani/followers","following_url":"https://api.github.com/users/gilbaadani/following{/other_user}","gists_url":"https://api.github.com/users/gilbaadani/gists{/gist_id}","starred_url":"https://api.github.com/users/gilbaadani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilbaadani/subscriptions","organizations_url":"https://api.github.com/users/gilbaadani/orgs","repos_url":"https://api.github.com/users/gilbaadani/repos","events_url":"https://api.github.com/users/gilbaadani/events{/privacy}","received_events_url":"https://api.github.com/users/gilbaadani/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"uvluni","id":10795825,"avatar_url":"https://avatars1.githubusercontent.com/u/10795825?v=4","gravatar_id":"","url":"https://api.github.com/users/uvluni","html_url":"https://github.com/uvluni","followers_url":"https://api.github.com/users/uvluni/followers","following_url":"https://api.github.com/users/uvluni/following{/other_user}","gists_url":"https://api.github.com/users/uvluni/gists{/gist_id}","starred_url":"https://api.github.com/users/uvluni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uvluni/subscriptions","organizations_url":"https://api.github.com/users/uvluni/orgs","repos_url":"https://api.github.com/users/uvluni/repos","events_url":"https://api.github.com/users/uvluni/events{/privacy}","received_events_url":"https://api.github.com/users/uvluni/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Alaev/muncher-front/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Alaev/muncher-front/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Alaev/muncher-front/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alaev/muncher-front/issues/9/comments","statuses_url":"https://api.github.com/repos/Alaev/muncher-front/statuses/963259db0f3f8551e69a6584ee3388dfc2a8a7ca","head":{"label":"Alaev:menu","ref":"menu","sha":"963259db0f3f8551e69a6584ee3388dfc2a8a7ca","user":{"login":"Alaev","id":3925474,"avatar_url":"https://avatars1.githubusercontent.com/u/3925474?v=4","gravatar_id":"","url":"https://api.github.com/users/Alaev","html_url":"https://github.com/Alaev","followers_url":"https://api.github.com/users/Alaev/followers","following_url":"https://api.github.com/users/Alaev/following{/other_user}","gists_url":"https://api.github.com/users/Alaev/gists{/gist_id}","starred_url":"https://api.github.com/users/Alaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alaev/subscriptions","organizations_url":"https://api.github.com/users/Alaev/orgs","repos_url":"https://api.github.com/users/Alaev/repos","events_url":"https://api.github.com/users/Alaev/events{/privacy}","received_events_url":"https://api.github.com/users/Alaev/received_events","type":"User","site_admin":false},"repo":{"id":107903731,"name":"muncher-front","full_name":"Alaev/muncher-front","owner":{"login":"Alaev","id":3925474,"avatar_url":"https://avatars1.githubusercontent.com/u/3925474?v=4","gravatar_id":"","url":"https://api.github.com/users/Alaev","html_url":"https://github.com/Alaev","followers_url":"https://api.github.com/users/Alaev/followers","following_url":"https://api.github.com/users/Alaev/following{/other_user}","gists_url":"https://api.github.com/users/Alaev/gists{/gist_id}","starred_url":"https://api.github.com/users/Alaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alaev/subscriptions","organizations_url":"https://api.github.com/users/Alaev/orgs","repos_url":"https://api.github.com/users/Alaev/repos","events_url":"https://api.github.com/users/Alaev/events{/privacy}","received_events_url":"https://api.github.com/users/Alaev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alaev/muncher-front","description":"frontend ","fork":false,"url":"https://api.github.com/repos/Alaev/muncher-front","forks_url":"https://api.github.com/repos/Alaev/muncher-front/forks","keys_url":"https://api.github.com/repos/Alaev/muncher-front/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alaev/muncher-front/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alaev/muncher-front/teams","hooks_url":"https://api.github.com/repos/Alaev/muncher-front/hooks","issue_events_url":"https://api.github.com/repos/Alaev/muncher-front/issues/events{/number}","events_url":"https://api.github.com/repos/Alaev/muncher-front/events","assignees_url":"https://api.github.com/repos/Alaev/muncher-front/assignees{/user}","branches_url":"https://api.github.com/repos/Alaev/muncher-front/branches{/branch}","tags_url":"https://api.github.com/repos/Alaev/muncher-front/tags","blobs_url":"https://api.github.com/repos/Alaev/muncher-front/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alaev/muncher-front/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alaev/muncher-front/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alaev/muncher-front/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alaev/muncher-front/statuses/{sha}","languages_url":"https://api.github.com/repos/Alaev/muncher-front/languages","stargazers_url":"https://api.github.com/repos/Alaev/muncher-front/stargazers","contributors_url":"https://api.github.com/repos/Alaev/muncher-front/contributors","subscribers_url":"https://api.github.com/repos/Alaev/muncher-front/subscribers","subscription_url":"https://api.github.com/repos/Alaev/muncher-front/subscription","commits_url":"https://api.github.com/repos/Alaev/muncher-front/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alaev/muncher-front/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alaev/muncher-front/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alaev/muncher-front/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alaev/muncher-front/contents/{+path}","compare_url":"https://api.github.com/repos/Alaev/muncher-front/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alaev/muncher-front/merges","archive_url":"https://api.github.com/repos/Alaev/muncher-front/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alaev/muncher-front/downloads","issues_url":"https://api.github.com/repos/Alaev/muncher-front/issues{/number}","pulls_url":"https://api.github.com/repos/Alaev/muncher-front/pulls{/number}","milestones_url":"https://api.github.com/repos/Alaev/muncher-front/milestones{/number}","notifications_url":"https://api.github.com/repos/Alaev/muncher-front/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alaev/muncher-front/labels{/name}","releases_url":"https://api.github.com/repos/Alaev/muncher-front/releases{/id}","deployments_url":"https://api.github.com/repos/Alaev/muncher-front/deployments","created_at":"2017-10-22T21:19:53Z","updated_at":"2017-10-29T20:23:49Z","pushed_at":"2017-10-30T16:22:16Z","git_url":"git://github.com/Alaev/muncher-front.git","ssh_url":"git@github.com:Alaev/muncher-front.git","clone_url":"https://github.com/Alaev/muncher-front.git","svn_url":"https://github.com/Alaev/muncher-front","homepage":null,"size":212,"stargazers_count":3,"watchers_count":3,"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,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"Alaev:master","ref":"master","sha":"92ec009287f97f656dcc9601178a6f4c62ff9e45","user":{"login":"Alaev","id":3925474,"avatar_url":"https://avatars1.githubusercontent.com/u/3925474?v=4","gravatar_id":"","url":"https://api.github.com/users/Alaev","html_url":"https://github.com/Alaev","followers_url":"https://api.github.com/users/Alaev/followers","following_url":"https://api.github.com/users/Alaev/following{/other_user}","gists_url":"https://api.github.com/users/Alaev/gists{/gist_id}","starred_url":"https://api.github.com/users/Alaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alaev/subscriptions","organizations_url":"https://api.github.com/users/Alaev/orgs","repos_url":"https://api.github.com/users/Alaev/repos","events_url":"https://api.github.com/users/Alaev/events{/privacy}","received_events_url":"https://api.github.com/users/Alaev/received_events","type":"User","site_admin":false},"repo":{"id":107903731,"name":"muncher-front","full_name":"Alaev/muncher-front","owner":{"login":"Alaev","id":3925474,"avatar_url":"https://avatars1.githubusercontent.com/u/3925474?v=4","gravatar_id":"","url":"https://api.github.com/users/Alaev","html_url":"https://github.com/Alaev","followers_url":"https://api.github.com/users/Alaev/followers","following_url":"https://api.github.com/users/Alaev/following{/other_user}","gists_url":"https://api.github.com/users/Alaev/gists{/gist_id}","starred_url":"https://api.github.com/users/Alaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alaev/subscriptions","organizations_url":"https://api.github.com/users/Alaev/orgs","repos_url":"https://api.github.com/users/Alaev/repos","events_url":"https://api.github.com/users/Alaev/events{/privacy}","received_events_url":"https://api.github.com/users/Alaev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alaev/muncher-front","description":"frontend ","fork":false,"url":"https://api.github.com/repos/Alaev/muncher-front","forks_url":"https://api.github.com/repos/Alaev/muncher-front/forks","keys_url":"https://api.github.com/repos/Alaev/muncher-front/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alaev/muncher-front/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alaev/muncher-front/teams","hooks_url":"https://api.github.com/repos/Alaev/muncher-front/hooks","issue_events_url":"https://api.github.com/repos/Alaev/muncher-front/issues/events{/number}","events_url":"https://api.github.com/repos/Alaev/muncher-front/events","assignees_url":"https://api.github.com/repos/Alaev/muncher-front/assignees{/user}","branches_url":"https://api.github.com/repos/Alaev/muncher-front/branches{/branch}","tags_url":"https://api.github.com/repos/Alaev/muncher-front/tags","blobs_url":"https://api.github.com/repos/Alaev/muncher-front/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alaev/muncher-front/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alaev/muncher-front/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alaev/muncher-front/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alaev/muncher-front/statuses/{sha}","languages_url":"https://api.github.com/repos/Alaev/muncher-front/languages","stargazers_url":"https://api.github.com/repos/Alaev/muncher-front/stargazers","contributors_url":"https://api.github.com/repos/Alaev/muncher-front/contributors","subscribers_url":"https://api.github.com/repos/Alaev/muncher-front/subscribers","subscription_url":"https://api.github.com/repos/Alaev/muncher-front/subscription","commits_url":"https://api.github.com/repos/Alaev/muncher-front/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alaev/muncher-front/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alaev/muncher-front/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alaev/muncher-front/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alaev/muncher-front/contents/{+path}","compare_url":"https://api.github.com/repos/Alaev/muncher-front/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alaev/muncher-front/merges","archive_url":"https://api.github.com/repos/Alaev/muncher-front/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alaev/muncher-front/downloads","issues_url":"https://api.github.com/repos/Alaev/muncher-front/issues{/number}","pulls_url":"https://api.github.com/repos/Alaev/muncher-front/pulls{/number}","milestones_url":"https://api.github.com/repos/Alaev/muncher-front/milestones{/number}","notifications_url":"https://api.github.com/repos/Alaev/muncher-front/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alaev/muncher-front/labels{/name}","releases_url":"https://api.github.com/repos/Alaev/muncher-front/releases{/id}","deployments_url":"https://api.github.com/repos/Alaev/muncher-front/deployments","created_at":"2017-10-22T21:19:53Z","updated_at":"2017-10-29T20:23:49Z","pushed_at":"2017-10-30T16:22:16Z","git_url":"git://github.com/Alaev/muncher-front.git","ssh_url":"git@github.com:Alaev/muncher-front.git","clone_url":"https://github.com/Alaev/muncher-front.git","svn_url":"https://github.com/Alaev/muncher-front","homepage":null,"size":212,"stargazers_count":3,"watchers_count":3,"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,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alaev/muncher-front/pulls/9"},"html":{"href":"https://github.com/Alaev/muncher-front/pull/9"},"issue":{"href":"https://api.github.com/repos/Alaev/muncher-front/issues/9"},"comments":{"href":"https://api.github.com/repos/Alaev/muncher-front/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Alaev/muncher-front/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Alaev/muncher-front/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alaev/muncher-front/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Alaev/muncher-front/statuses/963259db0f3f8551e69a6584ee3388dfc2a8a7ca"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Alaev"}}