{"action":"created","comment":{"url":"https://api.github.com/repos/stelisevil/react-project/pulls/comments/210274562","pull_request_review_id":146452712,"id":210274562,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDI3NDU2Mg==","diff_hunk":"@@ -69,7 +97,13 @@ class TodoList extends React.Component {\n             <p className='pr-1'><strong>Add a new item:</strong></p>","path":"src/projects/TodoList/index.js","position":71,"original_position":71,"commit_id":"e339887ea03769e4ffe220df2a469baa18547326","original_commit_id":"e339887ea03769e4ffe220df2a469baa18547326","user":{"login":"stelisevil","id":41406137,"node_id":"MDQ6VXNlcjQxNDA2MTM3","avatar_url":"https://avatars0.githubusercontent.com/u/41406137?v=4","gravatar_id":"","url":"https://api.github.com/users/stelisevil","html_url":"https://github.com/stelisevil","followers_url":"https://api.github.com/users/stelisevil/followers","following_url":"https://api.github.com/users/stelisevil/following{/other_user}","gists_url":"https://api.github.com/users/stelisevil/gists{/gist_id}","starred_url":"https://api.github.com/users/stelisevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelisevil/subscriptions","organizations_url":"https://api.github.com/users/stelisevil/orgs","repos_url":"https://api.github.com/users/stelisevil/repos","events_url":"https://api.github.com/users/stelisevil/events{/privacy}","received_events_url":"https://api.github.com/users/stelisevil/received_events","type":"User","site_admin":false},"body":"ahh yeah that looks like asss my bad","created_at":"2018-08-15T13:50:26Z","updated_at":"2018-08-15T13:50:26Z","html_url":"https://github.com/stelisevil/react-project/pull/5#discussion_r210274562","pull_request_url":"https://api.github.com/repos/stelisevil/react-project/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/stelisevil/react-project/pulls/comments/210274562"},"html":{"href":"https://github.com/stelisevil/react-project/pull/5#discussion_r210274562"},"pull_request":{"href":"https://api.github.com/repos/stelisevil/react-project/pulls/5"}},"in_reply_to_id":210213576},"pull_request":{"url":"https://api.github.com/repos/stelisevil/react-project/pulls/5","id":208462915,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NDYyOTE1","html_url":"https://github.com/stelisevil/react-project/pull/5","diff_url":"https://github.com/stelisevil/react-project/pull/5.diff","patch_url":"https://github.com/stelisevil/react-project/pull/5.patch","issue_url":"https://api.github.com/repos/stelisevil/react-project/issues/5","number":5,"state":"open","locked":false,"title":"completed todolist-5","user":{"login":"stelisevil","id":41406137,"node_id":"MDQ6VXNlcjQxNDA2MTM3","avatar_url":"https://avatars0.githubusercontent.com/u/41406137?v=4","gravatar_id":"","url":"https://api.github.com/users/stelisevil","html_url":"https://github.com/stelisevil","followers_url":"https://api.github.com/users/stelisevil/followers","following_url":"https://api.github.com/users/stelisevil/following{/other_user}","gists_url":"https://api.github.com/users/stelisevil/gists{/gist_id}","starred_url":"https://api.github.com/users/stelisevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelisevil/subscriptions","organizations_url":"https://api.github.com/users/stelisevil/orgs","repos_url":"https://api.github.com/users/stelisevil/repos","events_url":"https://api.github.com/users/stelisevil/events{/privacy}","received_events_url":"https://api.github.com/users/stelisevil/received_events","type":"User","site_admin":false},"body":"Done! Very pleased with working out how to fix the issue of this.props.whilstEditing to make sure it actually changes within the edit field onChange. There is one known bug, however: If i attempt to edit multiple todos at once, the input field changes on both to whatever task i clicked last. I presume the way to fix this is to have the state 'editedItem' within each object of the this.state.todos array. As for now, I wanna commit this and get a PR going. Also, one quick question... how do I write the code to have multiple classNames? I've googled it and there are so many different ways to do it, I think i'd rather you just let me know what you think is best practise.","created_at":"2018-08-15T03:13:30Z","updated_at":"2018-08-15T13:50:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c77f7ba45743938545d5ca9933f2f93972a706ac","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/stelisevil/react-project/pulls/5/commits","review_comments_url":"https://api.github.com/repos/stelisevil/react-project/pulls/5/comments","review_comment_url":"https://api.github.com/repos/stelisevil/react-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stelisevil/react-project/issues/5/comments","statuses_url":"https://api.github.com/repos/stelisevil/react-project/statuses/e339887ea03769e4ffe220df2a469baa18547326","head":{"label":"stelisevil:todolist-5","ref":"todolist-5","sha":"e339887ea03769e4ffe220df2a469baa18547326","user":{"login":"stelisevil","id":41406137,"node_id":"MDQ6VXNlcjQxNDA2MTM3","avatar_url":"https://avatars0.githubusercontent.com/u/41406137?v=4","gravatar_id":"","url":"https://api.github.com/users/stelisevil","html_url":"https://github.com/stelisevil","followers_url":"https://api.github.com/users/stelisevil/followers","following_url":"https://api.github.com/users/stelisevil/following{/other_user}","gists_url":"https://api.github.com/users/stelisevil/gists{/gist_id}","starred_url":"https://api.github.com/users/stelisevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelisevil/subscriptions","organizations_url":"https://api.github.com/users/stelisevil/orgs","repos_url":"https://api.github.com/users/stelisevil/repos","events_url":"https://api.github.com/users/stelisevil/events{/privacy}","received_events_url":"https://api.github.com/users/stelisevil/received_events","type":"User","site_admin":false},"repo":{"id":143912451,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM5MTI0NTE=","name":"react-project","full_name":"stelisevil/react-project","owner":{"login":"stelisevil","id":41406137,"node_id":"MDQ6VXNlcjQxNDA2MTM3","avatar_url":"https://avatars0.githubusercontent.com/u/41406137?v=4","gravatar_id":"","url":"https://api.github.com/users/stelisevil","html_url":"https://github.com/stelisevil","followers_url":"https://api.github.com/users/stelisevil/followers","following_url":"https://api.github.com/users/stelisevil/following{/other_user}","gists_url":"https://api.github.com/users/stelisevil/gists{/gist_id}","starred_url":"https://api.github.com/users/stelisevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelisevil/subscriptions","organizations_url":"https://api.github.com/users/stelisevil/orgs","repos_url":"https://api.github.com/users/stelisevil/repos","events_url":"https://api.github.com/users/stelisevil/events{/privacy}","received_events_url":"https://api.github.com/users/stelisevil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stelisevil/react-project","description":null,"fork":false,"url":"https://api.github.com/repos/stelisevil/react-project","forks_url":"https://api.github.com/repos/stelisevil/react-project/forks","keys_url":"https://api.github.com/repos/stelisevil/react-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stelisevil/react-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stelisevil/react-project/teams","hooks_url":"https://api.github.com/repos/stelisevil/react-project/hooks","issue_events_url":"https://api.github.com/repos/stelisevil/react-project/issues/events{/number}","events_url":"https://api.github.com/repos/stelisevil/react-project/events","assignees_url":"https://api.github.com/repos/stelisevil/react-project/assignees{/user}","branches_url":"https://api.github.com/repos/stelisevil/react-project/branches{/branch}","tags_url":"https://api.github.com/repos/stelisevil/react-project/tags","blobs_url":"https://api.github.com/repos/stelisevil/react-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stelisevil/react-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stelisevil/react-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/stelisevil/react-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stelisevil/react-project/statuses/{sha}","languages_url":"https://api.github.com/repos/stelisevil/react-project/languages","stargazers_url":"https://api.github.com/repos/stelisevil/react-project/stargazers","contributors_url":"https://api.github.com/repos/stelisevil/react-project/contributors","subscribers_url":"https://api.github.com/repos/stelisevil/react-project/subscribers","subscription_url":"https://api.github.com/repos/stelisevil/react-project/subscription","commits_url":"https://api.github.com/repos/stelisevil/react-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/stelisevil/react-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/stelisevil/react-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/stelisevil/react-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/stelisevil/react-project/contents/{+path}","compare_url":"https://api.github.com/repos/stelisevil/react-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stelisevil/react-project/merges","archive_url":"https://api.github.com/repos/stelisevil/react-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stelisevil/react-project/downloads","issues_url":"https://api.github.com/repos/stelisevil/react-project/issues{/number}","pulls_url":"https://api.github.com/repos/stelisevil/react-project/pulls{/number}","milestones_url":"https://api.github.com/repos/stelisevil/react-project/milestones{/number}","notifications_url":"https://api.github.com/repos/stelisevil/react-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stelisevil/react-project/labels{/name}","releases_url":"https://api.github.com/repos/stelisevil/react-project/releases{/id}","deployments_url":"https://api.github.com/repos/stelisevil/react-project/deployments","created_at":"2018-08-07T18:31:44Z","updated_at":"2018-08-14T08:39:49Z","pushed_at":"2018-08-15T03:13:31Z","git_url":"git://github.com/stelisevil/react-project.git","ssh_url":"git@github.com:stelisevil/react-project.git","clone_url":"https://github.com/stelisevil/react-project.git","svn_url":"https://github.com/stelisevil/react-project","homepage":null,"size":220,"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":"stelisevil:master","ref":"master","sha":"9f0d0b4f6c7c3b35ec0e1a81bdcf2ebc9f789069","user":{"login":"stelisevil","id":41406137,"node_id":"MDQ6VXNlcjQxNDA2MTM3","avatar_url":"https://avatars0.githubusercontent.com/u/41406137?v=4","gravatar_id":"","url":"https://api.github.com/users/stelisevil","html_url":"https://github.com/stelisevil","followers_url":"https://api.github.com/users/stelisevil/followers","following_url":"https://api.github.com/users/stelisevil/following{/other_user}","gists_url":"https://api.github.com/users/stelisevil/gists{/gist_id}","starred_url":"https://api.github.com/users/stelisevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelisevil/subscriptions","organizations_url":"https://api.github.com/users/stelisevil/orgs","repos_url":"https://api.github.com/users/stelisevil/repos","events_url":"https://api.github.com/users/stelisevil/events{/privacy}","received_events_url":"https://api.github.com/users/stelisevil/received_events","type":"User","site_admin":false},"repo":{"id":143912451,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM5MTI0NTE=","name":"react-project","full_name":"stelisevil/react-project","owner":{"login":"stelisevil","id":41406137,"node_id":"MDQ6VXNlcjQxNDA2MTM3","avatar_url":"https://avatars0.githubusercontent.com/u/41406137?v=4","gravatar_id":"","url":"https://api.github.com/users/stelisevil","html_url":"https://github.com/stelisevil","followers_url":"https://api.github.com/users/stelisevil/followers","following_url":"https://api.github.com/users/stelisevil/following{/other_user}","gists_url":"https://api.github.com/users/stelisevil/gists{/gist_id}","starred_url":"https://api.github.com/users/stelisevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stelisevil/subscriptions","organizations_url":"https://api.github.com/users/stelisevil/orgs","repos_url":"https://api.github.com/users/stelisevil/repos","events_url":"https://api.github.com/users/stelisevil/events{/privacy}","received_events_url":"https://api.github.com/users/stelisevil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stelisevil/react-project","description":null,"fork":false,"url":"https://api.github.com/repos/stelisevil/react-project","forks_url":"https://api.github.com/repos/stelisevil/react-project/forks","keys_url":"https://api.github.com/repos/stelisevil/react-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stelisevil/react-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stelisevil/react-project/teams","hooks_url":"https://api.github.com/repos/stelisevil/react-project/hooks","issue_events_url":"https://api.github.com/repos/stelisevil/react-project/issues/events{/number}","events_url":"https://api.github.com/repos/stelisevil/react-project/events","assignees_url":"https://api.github.com/repos/stelisevil/react-project/assignees{/user}","branches_url":"https://api.github.com/repos/stelisevil/react-project/branches{/branch}","tags_url":"https://api.github.com/repos/stelisevil/react-project/tags","blobs_url":"https://api.github.com/repos/stelisevil/react-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stelisevil/react-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stelisevil/react-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/stelisevil/react-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stelisevil/react-project/statuses/{sha}","languages_url":"https://api.github.com/repos/stelisevil/react-project/languages","stargazers_url":"https://api.github.com/repos/stelisevil/react-project/stargazers","contributors_url":"https://api.github.com/repos/stelisevil/react-project/contributors","subscribers_url":"https://api.github.com/repos/stelisevil/react-project/subscribers","subscription_url":"https://api.github.com/repos/stelisevil/react-project/subscription","commits_url":"https://api.github.com/repos/stelisevil/react-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/stelisevil/react-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/stelisevil/react-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/stelisevil/react-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/stelisevil/react-project/contents/{+path}","compare_url":"https://api.github.com/repos/stelisevil/react-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stelisevil/react-project/merges","archive_url":"https://api.github.com/repos/stelisevil/react-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stelisevil/react-project/downloads","issues_url":"https://api.github.com/repos/stelisevil/react-project/issues{/number}","pulls_url":"https://api.github.com/repos/stelisevil/react-project/pulls{/number}","milestones_url":"https://api.github.com/repos/stelisevil/react-project/milestones{/number}","notifications_url":"https://api.github.com/repos/stelisevil/react-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stelisevil/react-project/labels{/name}","releases_url":"https://api.github.com/repos/stelisevil/react-project/releases{/id}","deployments_url":"https://api.github.com/repos/stelisevil/react-project/deployments","created_at":"2018-08-07T18:31:44Z","updated_at":"2018-08-14T08:39:49Z","pushed_at":"2018-08-15T03:13:31Z","git_url":"git://github.com/stelisevil/react-project.git","ssh_url":"git@github.com:stelisevil/react-project.git","clone_url":"https://github.com/stelisevil/react-project.git","svn_url":"https://github.com/stelisevil/react-project","homepage":null,"size":220,"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/stelisevil/react-project/pulls/5"},"html":{"href":"https://github.com/stelisevil/react-project/pull/5"},"issue":{"href":"https://api.github.com/repos/stelisevil/react-project/issues/5"},"comments":{"href":"https://api.github.com/repos/stelisevil/react-project/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/stelisevil/react-project/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/stelisevil/react-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stelisevil/react-project/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/stelisevil/react-project/statuses/e339887ea03769e4ffe220df2a469baa18547326"}},"author_association":"OWNER"}}
{"actor":{"display_login":"stelisevil"}}