{"action":"created","comment":{"url":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/comments/227243225","pull_request_review_id":167236985,"id":227243225,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzI0MzIyNQ==","diff_hunk":"@@ -0,0 +1,28 @@\n+import React from 'react'\n+import { AsyncButtonStyles } from '../../styles/AsyncButton';\n+\n+const AsyncButton = ({ type, onClick, loading }) => {","path":"src/components/AsyncButton/index.js","position":4,"original_position":4,"commit_id":"3b42656722b4277e9ad10e0387059a1754015ea5","original_commit_id":"3b42656722b4277e9ad10e0387059a1754015ea5","user":{"login":"gianglevan94","id":22128074,"node_id":"MDQ6VXNlcjIyMTI4MDc0","avatar_url":"https://avatars3.githubusercontent.com/u/22128074?v=4","gravatar_id":"","url":"https://api.github.com/users/gianglevan94","html_url":"https://github.com/gianglevan94","followers_url":"https://api.github.com/users/gianglevan94/followers","following_url":"https://api.github.com/users/gianglevan94/following{/other_user}","gists_url":"https://api.github.com/users/gianglevan94/gists{/gist_id}","starred_url":"https://api.github.com/users/gianglevan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianglevan94/subscriptions","organizations_url":"https://api.github.com/users/gianglevan94/orgs","repos_url":"https://api.github.com/users/gianglevan94/repos","events_url":"https://api.github.com/users/gianglevan94/events{/privacy}","received_events_url":"https://api.github.com/users/gianglevan94/received_events","type":"User","site_admin":false},"body":"my be this better\r\n```\r\nconst AsyncButton = ({ type, onClick, loading }) => (\r\n  <AsyncButtonStyles\r\n        disabled={loading}\r\n        type={type}\r\n        onClick={onClick}\r\n      >\r\n        {loading ? 'Submitting...' : 'Submit'}\r\n      </AsyncButtonStyles>\r\n)\r\n```","created_at":"2018-10-23T06:39:03Z","updated_at":"2018-10-23T06:39:03Z","html_url":"https://github.com/emily0604/reporting_system_client/pull/20#discussion_r227243225","pull_request_url":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/20","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/comments/227243225"},"html":{"href":"https://github.com/emily0604/reporting_system_client/pull/20#discussion_r227243225"},"pull_request":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/20","id":224229996,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MjI5OTk2","html_url":"https://github.com/emily0604/reporting_system_client/pull/20","diff_url":"https://github.com/emily0604/reporting_system_client/pull/20.diff","patch_url":"https://github.com/emily0604/reporting_system_client/pull/20.patch","issue_url":"https://api.github.com/repos/emily0604/reporting_system_client/issues/20","number":20,"state":"open","locked":false,"title":"Create Daily Report with validate.","user":{"login":"phuongthuan","id":20045189,"node_id":"MDQ6VXNlcjIwMDQ1MTg5","avatar_url":"https://avatars3.githubusercontent.com/u/20045189?v=4","gravatar_id":"","url":"https://api.github.com/users/phuongthuan","html_url":"https://github.com/phuongthuan","followers_url":"https://api.github.com/users/phuongthuan/followers","following_url":"https://api.github.com/users/phuongthuan/following{/other_user}","gists_url":"https://api.github.com/users/phuongthuan/gists{/gist_id}","starred_url":"https://api.github.com/users/phuongthuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuongthuan/subscriptions","organizations_url":"https://api.github.com/users/phuongthuan/orgs","repos_url":"https://api.github.com/users/phuongthuan/repos","events_url":"https://api.github.com/users/phuongthuan/events{/privacy}","received_events_url":"https://api.github.com/users/phuongthuan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-19T09:49:47Z","updated_at":"2018-10-23T06:39:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9225b24a701ec3f202dff4d65d5b0f0cedcfb4b2","assignee":{"login":"phuongthuan","id":20045189,"node_id":"MDQ6VXNlcjIwMDQ1MTg5","avatar_url":"https://avatars3.githubusercontent.com/u/20045189?v=4","gravatar_id":"","url":"https://api.github.com/users/phuongthuan","html_url":"https://github.com/phuongthuan","followers_url":"https://api.github.com/users/phuongthuan/followers","following_url":"https://api.github.com/users/phuongthuan/following{/other_user}","gists_url":"https://api.github.com/users/phuongthuan/gists{/gist_id}","starred_url":"https://api.github.com/users/phuongthuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuongthuan/subscriptions","organizations_url":"https://api.github.com/users/phuongthuan/orgs","repos_url":"https://api.github.com/users/phuongthuan/repos","events_url":"https://api.github.com/users/phuongthuan/events{/privacy}","received_events_url":"https://api.github.com/users/phuongthuan/received_events","type":"User","site_admin":false},"assignees":[{"login":"phuongthuan","id":20045189,"node_id":"MDQ6VXNlcjIwMDQ1MTg5","avatar_url":"https://avatars3.githubusercontent.com/u/20045189?v=4","gravatar_id":"","url":"https://api.github.com/users/phuongthuan","html_url":"https://github.com/phuongthuan","followers_url":"https://api.github.com/users/phuongthuan/followers","following_url":"https://api.github.com/users/phuongthuan/following{/other_user}","gists_url":"https://api.github.com/users/phuongthuan/gists{/gist_id}","starred_url":"https://api.github.com/users/phuongthuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuongthuan/subscriptions","organizations_url":"https://api.github.com/users/phuongthuan/orgs","repos_url":"https://api.github.com/users/phuongthuan/repos","events_url":"https://api.github.com/users/phuongthuan/events{/privacy}","received_events_url":"https://api.github.com/users/phuongthuan/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/20/commits","review_comments_url":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/20/comments","review_comment_url":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emily0604/reporting_system_client/issues/20/comments","statuses_url":"https://api.github.com/repos/emily0604/reporting_system_client/statuses/3b42656722b4277e9ad10e0387059a1754015ea5","head":{"label":"phuongthuan:YPhw18g5","ref":"YPhw18g5","sha":"3b42656722b4277e9ad10e0387059a1754015ea5","user":{"login":"phuongthuan","id":20045189,"node_id":"MDQ6VXNlcjIwMDQ1MTg5","avatar_url":"https://avatars3.githubusercontent.com/u/20045189?v=4","gravatar_id":"","url":"https://api.github.com/users/phuongthuan","html_url":"https://github.com/phuongthuan","followers_url":"https://api.github.com/users/phuongthuan/followers","following_url":"https://api.github.com/users/phuongthuan/following{/other_user}","gists_url":"https://api.github.com/users/phuongthuan/gists{/gist_id}","starred_url":"https://api.github.com/users/phuongthuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuongthuan/subscriptions","organizations_url":"https://api.github.com/users/phuongthuan/orgs","repos_url":"https://api.github.com/users/phuongthuan/repos","events_url":"https://api.github.com/users/phuongthuan/events{/privacy}","received_events_url":"https://api.github.com/users/phuongthuan/received_events","type":"User","site_admin":false},"repo":{"id":153046321,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMwNDYzMjE=","name":"reporting_system_client","full_name":"phuongthuan/reporting_system_client","private":false,"owner":{"login":"phuongthuan","id":20045189,"node_id":"MDQ6VXNlcjIwMDQ1MTg5","avatar_url":"https://avatars3.githubusercontent.com/u/20045189?v=4","gravatar_id":"","url":"https://api.github.com/users/phuongthuan","html_url":"https://github.com/phuongthuan","followers_url":"https://api.github.com/users/phuongthuan/followers","following_url":"https://api.github.com/users/phuongthuan/following{/other_user}","gists_url":"https://api.github.com/users/phuongthuan/gists{/gist_id}","starred_url":"https://api.github.com/users/phuongthuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuongthuan/subscriptions","organizations_url":"https://api.github.com/users/phuongthuan/orgs","repos_url":"https://api.github.com/users/phuongthuan/repos","events_url":"https://api.github.com/users/phuongthuan/events{/privacy}","received_events_url":"https://api.github.com/users/phuongthuan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/phuongthuan/reporting_system_client","description":null,"fork":true,"url":"https://api.github.com/repos/phuongthuan/reporting_system_client","forks_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/forks","keys_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/teams","hooks_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/hooks","issue_events_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/issues/events{/number}","events_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/events","assignees_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/assignees{/user}","branches_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/branches{/branch}","tags_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/tags","blobs_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/statuses/{sha}","languages_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/languages","stargazers_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/stargazers","contributors_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/contributors","subscribers_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/subscribers","subscription_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/subscription","commits_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/contents/{+path}","compare_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/merges","archive_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/downloads","issues_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/issues{/number}","pulls_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/pulls{/number}","milestones_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/milestones{/number}","notifications_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/labels{/name}","releases_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/releases{/id}","deployments_url":"https://api.github.com/repos/phuongthuan/reporting_system_client/deployments","created_at":"2018-10-15T03:10:12Z","updated_at":"2018-10-18T06:33:53Z","pushed_at":"2018-10-23T06:32:13Z","git_url":"git://github.com/phuongthuan/reporting_system_client.git","ssh_url":"git@github.com:phuongthuan/reporting_system_client.git","clone_url":"https://github.com/phuongthuan/reporting_system_client.git","svn_url":"https://github.com/phuongthuan/reporting_system_client","homepage":null,"size":271,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"emily0604:master","ref":"master","sha":"85861f9ca55e04bf342e4c12404a453579b71207","user":{"login":"emily0604","id":13864253,"node_id":"MDQ6VXNlcjEzODY0MjUz","avatar_url":"https://avatars0.githubusercontent.com/u/13864253?v=4","gravatar_id":"","url":"https://api.github.com/users/emily0604","html_url":"https://github.com/emily0604","followers_url":"https://api.github.com/users/emily0604/followers","following_url":"https://api.github.com/users/emily0604/following{/other_user}","gists_url":"https://api.github.com/users/emily0604/gists{/gist_id}","starred_url":"https://api.github.com/users/emily0604/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emily0604/subscriptions","organizations_url":"https://api.github.com/users/emily0604/orgs","repos_url":"https://api.github.com/users/emily0604/repos","events_url":"https://api.github.com/users/emily0604/events{/privacy}","received_events_url":"https://api.github.com/users/emily0604/received_events","type":"User","site_admin":false},"repo":{"id":151350155,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEzNTAxNTU=","name":"reporting_system_client","full_name":"emily0604/reporting_system_client","private":false,"owner":{"login":"emily0604","id":13864253,"node_id":"MDQ6VXNlcjEzODY0MjUz","avatar_url":"https://avatars0.githubusercontent.com/u/13864253?v=4","gravatar_id":"","url":"https://api.github.com/users/emily0604","html_url":"https://github.com/emily0604","followers_url":"https://api.github.com/users/emily0604/followers","following_url":"https://api.github.com/users/emily0604/following{/other_user}","gists_url":"https://api.github.com/users/emily0604/gists{/gist_id}","starred_url":"https://api.github.com/users/emily0604/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emily0604/subscriptions","organizations_url":"https://api.github.com/users/emily0604/orgs","repos_url":"https://api.github.com/users/emily0604/repos","events_url":"https://api.github.com/users/emily0604/events{/privacy}","received_events_url":"https://api.github.com/users/emily0604/received_events","type":"User","site_admin":false},"html_url":"https://github.com/emily0604/reporting_system_client","description":null,"fork":false,"url":"https://api.github.com/repos/emily0604/reporting_system_client","forks_url":"https://api.github.com/repos/emily0604/reporting_system_client/forks","keys_url":"https://api.github.com/repos/emily0604/reporting_system_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emily0604/reporting_system_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emily0604/reporting_system_client/teams","hooks_url":"https://api.github.com/repos/emily0604/reporting_system_client/hooks","issue_events_url":"https://api.github.com/repos/emily0604/reporting_system_client/issues/events{/number}","events_url":"https://api.github.com/repos/emily0604/reporting_system_client/events","assignees_url":"https://api.github.com/repos/emily0604/reporting_system_client/assignees{/user}","branches_url":"https://api.github.com/repos/emily0604/reporting_system_client/branches{/branch}","tags_url":"https://api.github.com/repos/emily0604/reporting_system_client/tags","blobs_url":"https://api.github.com/repos/emily0604/reporting_system_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emily0604/reporting_system_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emily0604/reporting_system_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/emily0604/reporting_system_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emily0604/reporting_system_client/statuses/{sha}","languages_url":"https://api.github.com/repos/emily0604/reporting_system_client/languages","stargazers_url":"https://api.github.com/repos/emily0604/reporting_system_client/stargazers","contributors_url":"https://api.github.com/repos/emily0604/reporting_system_client/contributors","subscribers_url":"https://api.github.com/repos/emily0604/reporting_system_client/subscribers","subscription_url":"https://api.github.com/repos/emily0604/reporting_system_client/subscription","commits_url":"https://api.github.com/repos/emily0604/reporting_system_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/emily0604/reporting_system_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/emily0604/reporting_system_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/emily0604/reporting_system_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/emily0604/reporting_system_client/contents/{+path}","compare_url":"https://api.github.com/repos/emily0604/reporting_system_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emily0604/reporting_system_client/merges","archive_url":"https://api.github.com/repos/emily0604/reporting_system_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emily0604/reporting_system_client/downloads","issues_url":"https://api.github.com/repos/emily0604/reporting_system_client/issues{/number}","pulls_url":"https://api.github.com/repos/emily0604/reporting_system_client/pulls{/number}","milestones_url":"https://api.github.com/repos/emily0604/reporting_system_client/milestones{/number}","notifications_url":"https://api.github.com/repos/emily0604/reporting_system_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emily0604/reporting_system_client/labels{/name}","releases_url":"https://api.github.com/repos/emily0604/reporting_system_client/releases{/id}","deployments_url":"https://api.github.com/repos/emily0604/reporting_system_client/deployments","created_at":"2018-10-03T02:17:06Z","updated_at":"2018-10-18T06:31:27Z","pushed_at":"2018-10-23T06:32:15Z","git_url":"git://github.com/emily0604/reporting_system_client.git","ssh_url":"git@github.com:emily0604/reporting_system_client.git","clone_url":"https://github.com/emily0604/reporting_system_client.git","svn_url":"https://github.com/emily0604/reporting_system_client","homepage":null,"size":256,"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":2,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":2,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/20"},"html":{"href":"https://github.com/emily0604/reporting_system_client/pull/20"},"issue":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/issues/20"},"comments":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/emily0604/reporting_system_client/statuses/3b42656722b4277e9ad10e0387059a1754015ea5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"gianglevan94"}}