{"action":"created","comment":{"url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/comments/182227337","pull_request_review_id":112990497,"id":182227337,"diff_hunk":"@@ -0,0 +1,30 @@\n+import React from 'react';\n+import { connect } from 'react-redux';\n+\n+import './Budget.css';\n+\n+// export const Budget = (props) => ();\n+export const Budget = ({ profit, marketExpanse, farmExpanse, deliveryExpanse }) => (\n+  <div className=\"budget\">\n+    <h2>Бюджет</h2>\n+    <p>Всего получено денег: <span className=\"t-profit\">{profit}</span></p>\n+    <p>Расходы продавцов: <span className=\"t-sellers\">{-marketExpanse}</span></p>\n+    <p>Расходы на ферме: <span className=\"t-farm\">{-farmExpanse}</span></p>\n+    <p>Расходы на доставку: <span className=\"t-delivery\">{-deliveryExpanse}</span></p>\n+    <p>Итого:\n+      <span className=\"t-total\"> {profit - marketExpanse - farmExpanse - deliveryExpanse} </span>\n+    </p>\n+  </div>\n+);\n+\n+const mapStateToProps = state => ({\n+  // budget: state.budget\n+  ...state.budget","path":"src/components/Budget/Budget.js","position":22,"original_position":22,"commit_id":"054f5043e9885ed428ab1e71095d3d04b44bcc7d","original_commit_id":"054f5043e9885ed428ab1e71095d3d04b44bcc7d","user":{"login":"mvk85","id":20511691,"avatar_url":"https://avatars0.githubusercontent.com/u/20511691?v=4","gravatar_id":"","url":"https://api.github.com/users/mvk85","html_url":"https://github.com/mvk85","followers_url":"https://api.github.com/users/mvk85/followers","following_url":"https://api.github.com/users/mvk85/following{/other_user}","gists_url":"https://api.github.com/users/mvk85/gists{/gist_id}","starred_url":"https://api.github.com/users/mvk85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvk85/subscriptions","organizations_url":"https://api.github.com/users/mvk85/orgs","repos_url":"https://api.github.com/users/mvk85/repos","events_url":"https://api.github.com/users/mvk85/events{/privacy}","received_events_url":"https://api.github.com/users/mvk85/received_events","type":"User","site_admin":false},"body":"так не пойдет, надо каждый пропс отдельно","created_at":"2018-04-17T20:44:54Z","updated_at":"2018-04-17T20:58:22Z","html_url":"https://github.com/dex157/april_loftschool_react_homeworks/pull/71#discussion_r182227337","pull_request_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/71","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/comments/182227337"},"html":{"href":"https://github.com/dex157/april_loftschool_react_homeworks/pull/71#discussion_r182227337"},"pull_request":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/71","id":181712867,"html_url":"https://github.com/dex157/april_loftschool_react_homeworks/pull/71","diff_url":"https://github.com/dex157/april_loftschool_react_homeworks/pull/71.diff","patch_url":"https://github.com/dex157/april_loftschool_react_homeworks/pull/71.patch","issue_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/71","number":71,"state":"open","locked":false,"title":"nikitin/homework-6","user":{"login":"TuxGit","id":5136200,"avatar_url":"https://avatars0.githubusercontent.com/u/5136200?v=4","gravatar_id":"","url":"https://api.github.com/users/TuxGit","html_url":"https://github.com/TuxGit","followers_url":"https://api.github.com/users/TuxGit/followers","following_url":"https://api.github.com/users/TuxGit/following{/other_user}","gists_url":"https://api.github.com/users/TuxGit/gists{/gist_id}","starred_url":"https://api.github.com/users/TuxGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TuxGit/subscriptions","organizations_url":"https://api.github.com/users/TuxGit/orgs","repos_url":"https://api.github.com/users/TuxGit/repos","events_url":"https://api.github.com/users/TuxGit/events{/privacy}","received_events_url":"https://api.github.com/users/TuxGit/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-04-15T18:22:29Z","updated_at":"2018-04-17T20:58:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a699be4adc4248bc478c0e0804da0ac1ba09748","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/71/commits","review_comments_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/71/comments","review_comment_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/71/comments","statuses_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/statuses/054f5043e9885ed428ab1e71095d3d04b44bcc7d","head":{"label":"TuxGit:homework_6","ref":"homework_6","sha":"054f5043e9885ed428ab1e71095d3d04b44bcc7d","user":{"login":"TuxGit","id":5136200,"avatar_url":"https://avatars0.githubusercontent.com/u/5136200?v=4","gravatar_id":"","url":"https://api.github.com/users/TuxGit","html_url":"https://github.com/TuxGit","followers_url":"https://api.github.com/users/TuxGit/followers","following_url":"https://api.github.com/users/TuxGit/following{/other_user}","gists_url":"https://api.github.com/users/TuxGit/gists{/gist_id}","starred_url":"https://api.github.com/users/TuxGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TuxGit/subscriptions","organizations_url":"https://api.github.com/users/TuxGit/orgs","repos_url":"https://api.github.com/users/TuxGit/repos","events_url":"https://api.github.com/users/TuxGit/events{/privacy}","received_events_url":"https://api.github.com/users/TuxGit/received_events","type":"User","site_admin":false},"repo":{"id":127949015,"name":"april_loftschool_react_homeworks","full_name":"TuxGit/april_loftschool_react_homeworks","owner":{"login":"TuxGit","id":5136200,"avatar_url":"https://avatars0.githubusercontent.com/u/5136200?v=4","gravatar_id":"","url":"https://api.github.com/users/TuxGit","html_url":"https://github.com/TuxGit","followers_url":"https://api.github.com/users/TuxGit/followers","following_url":"https://api.github.com/users/TuxGit/following{/other_user}","gists_url":"https://api.github.com/users/TuxGit/gists{/gist_id}","starred_url":"https://api.github.com/users/TuxGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TuxGit/subscriptions","organizations_url":"https://api.github.com/users/TuxGit/orgs","repos_url":"https://api.github.com/users/TuxGit/repos","events_url":"https://api.github.com/users/TuxGit/events{/privacy}","received_events_url":"https://api.github.com/users/TuxGit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TuxGit/april_loftschool_react_homeworks","description":null,"fork":true,"url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks","forks_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/forks","keys_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/teams","hooks_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/hooks","issue_events_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/events","assignees_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/tags","blobs_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/languages","stargazers_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/stargazers","contributors_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/contributors","subscribers_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/subscribers","subscription_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/subscription","commits_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/merges","archive_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/downloads","issues_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/labels{/name}","releases_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/TuxGit/april_loftschool_react_homeworks/deployments","created_at":"2018-04-03T18:09:15Z","updated_at":"2018-04-03T18:09:17Z","pushed_at":"2018-04-15T21:36:51Z","git_url":"git://github.com/TuxGit/april_loftschool_react_homeworks.git","ssh_url":"git@github.com:TuxGit/april_loftschool_react_homeworks.git","clone_url":"https://github.com/TuxGit/april_loftschool_react_homeworks.git","svn_url":"https://github.com/TuxGit/april_loftschool_react_homeworks","homepage":null,"size":32723,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dex157:nikitin/homework_6","ref":"nikitin/homework_6","sha":"fe8ca20e4dce90518923ee4bf8c565255d0837bd","user":{"login":"dex157","id":862978,"avatar_url":"https://avatars2.githubusercontent.com/u/862978?v=4","gravatar_id":"","url":"https://api.github.com/users/dex157","html_url":"https://github.com/dex157","followers_url":"https://api.github.com/users/dex157/followers","following_url":"https://api.github.com/users/dex157/following{/other_user}","gists_url":"https://api.github.com/users/dex157/gists{/gist_id}","starred_url":"https://api.github.com/users/dex157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dex157/subscriptions","organizations_url":"https://api.github.com/users/dex157/orgs","repos_url":"https://api.github.com/users/dex157/repos","events_url":"https://api.github.com/users/dex157/events{/privacy}","received_events_url":"https://api.github.com/users/dex157/received_events","type":"User","site_admin":false},"repo":{"id":127768582,"name":"april_loftschool_react_homeworks","full_name":"dex157/april_loftschool_react_homeworks","owner":{"login":"dex157","id":862978,"avatar_url":"https://avatars2.githubusercontent.com/u/862978?v=4","gravatar_id":"","url":"https://api.github.com/users/dex157","html_url":"https://github.com/dex157","followers_url":"https://api.github.com/users/dex157/followers","following_url":"https://api.github.com/users/dex157/following{/other_user}","gists_url":"https://api.github.com/users/dex157/gists{/gist_id}","starred_url":"https://api.github.com/users/dex157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dex157/subscriptions","organizations_url":"https://api.github.com/users/dex157/orgs","repos_url":"https://api.github.com/users/dex157/repos","events_url":"https://api.github.com/users/dex157/events{/privacy}","received_events_url":"https://api.github.com/users/dex157/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dex157/april_loftschool_react_homeworks","description":null,"fork":false,"url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks","forks_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/forks","keys_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/teams","hooks_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/hooks","issue_events_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/events","assignees_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/tags","blobs_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/languages","stargazers_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/stargazers","contributors_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/contributors","subscribers_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/subscribers","subscription_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/subscription","commits_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/merges","archive_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/downloads","issues_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/labels{/name}","releases_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/deployments","created_at":"2018-04-02T14:37:55Z","updated_at":"2018-04-16T22:05:11Z","pushed_at":"2018-04-17T19:52:12Z","git_url":"git://github.com/dex157/april_loftschool_react_homeworks.git","ssh_url":"git@github.com:dex157/april_loftschool_react_homeworks.git","clone_url":"https://github.com/dex157/april_loftschool_react_homeworks.git","svn_url":"https://github.com/dex157/april_loftschool_react_homeworks","homepage":null,"size":49900,"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":20,"mirror_url":null,"archived":false,"open_issues_count":45,"license":null,"forks":20,"open_issues":45,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/71"},"html":{"href":"https://github.com/dex157/april_loftschool_react_homeworks/pull/71"},"issue":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/71"},"comments":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/statuses/054f5043e9885ed428ab1e71095d3d04b44bcc7d"}},"author_association":"NONE"}}
{"actor":{"display_login":"mvk85"}}