{"action":"created","comment":{"url":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/comments/265600918","pull_request_review_id":214551060,"id":265600918,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2NTYwMDkxOA==","diff_hunk":"@@ -47,7 +96,32 @@ const form = () => {\n     });\n   };\n \n-  const panelType = quizForm[formState.step].typePanel || '';\n+  let panelType = quizForm[formState.step].typePanel || '';\n+\n+  const calcAnswersTOTAL = updatedForm => {","path":"src/components/Form/Form.js","position":84,"original_position":84,"commit_id":"c3ca710db370d6c57130a2a964b72ac2f0dc460d","original_commit_id":"c3ca710db370d6c57130a2a964b72ac2f0dc460d","user":{"login":"booya2nd","id":1493017,"node_id":"MDQ6VXNlcjE0OTMwMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/1493017?v=4","gravatar_id":"","url":"https://api.github.com/users/booya2nd","html_url":"https://github.com/booya2nd","followers_url":"https://api.github.com/users/booya2nd/followers","following_url":"https://api.github.com/users/booya2nd/following{/other_user}","gists_url":"https://api.github.com/users/booya2nd/gists{/gist_id}","starred_url":"https://api.github.com/users/booya2nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/booya2nd/subscriptions","organizations_url":"https://api.github.com/users/booya2nd/orgs","repos_url":"https://api.github.com/users/booya2nd/repos","events_url":"https://api.github.com/users/booya2nd/events{/privacy}","received_events_url":"https://api.github.com/users/booya2nd/received_events","type":"User","site_admin":false},"body":"I would try to get this information from the store, as you already have to update the state per answered question, it would be easy to have the value stored there","created_at":"2019-03-14T14:39:08Z","updated_at":"2019-03-14T14:39:08Z","html_url":"https://github.com/crisanlucid/react-quiz/pull/2#discussion_r265600918","pull_request_url":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/comments/265600918"},"html":{"href":"https://github.com/crisanlucid/react-quiz/pull/2#discussion_r265600918"},"pull_request":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/2","id":259688104,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU5Njg4MTA0","html_url":"https://github.com/crisanlucid/react-quiz/pull/2","diff_url":"https://github.com/crisanlucid/react-quiz/pull/2.diff","patch_url":"https://github.com/crisanlucid/react-quiz/pull/2.patch","issue_url":"https://api.github.com/repos/crisanlucid/react-quiz/issues/2","number":2,"state":"open","locked":false,"title":"Feature/checkbox form","user":{"login":"crisanlucid","id":340843,"node_id":"MDQ6VXNlcjM0MDg0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/340843?v=4","gravatar_id":"","url":"https://api.github.com/users/crisanlucid","html_url":"https://github.com/crisanlucid","followers_url":"https://api.github.com/users/crisanlucid/followers","following_url":"https://api.github.com/users/crisanlucid/following{/other_user}","gists_url":"https://api.github.com/users/crisanlucid/gists{/gist_id}","starred_url":"https://api.github.com/users/crisanlucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisanlucid/subscriptions","organizations_url":"https://api.github.com/users/crisanlucid/orgs","repos_url":"https://api.github.com/users/crisanlucid/repos","events_url":"https://api.github.com/users/crisanlucid/events{/privacy}","received_events_url":"https://api.github.com/users/crisanlucid/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-03-09T13:08:08Z","updated_at":"2019-03-14T14:39:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c870ca4812c119a711e7b4240204ff4858329141","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/2/commits","review_comments_url":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/2/comments","review_comment_url":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crisanlucid/react-quiz/issues/2/comments","statuses_url":"https://api.github.com/repos/crisanlucid/react-quiz/statuses/c3ca710db370d6c57130a2a964b72ac2f0dc460d","head":{"label":"crisanlucid:feature/checkbox-form","ref":"feature/checkbox-form","sha":"c3ca710db370d6c57130a2a964b72ac2f0dc460d","user":{"login":"crisanlucid","id":340843,"node_id":"MDQ6VXNlcjM0MDg0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/340843?v=4","gravatar_id":"","url":"https://api.github.com/users/crisanlucid","html_url":"https://github.com/crisanlucid","followers_url":"https://api.github.com/users/crisanlucid/followers","following_url":"https://api.github.com/users/crisanlucid/following{/other_user}","gists_url":"https://api.github.com/users/crisanlucid/gists{/gist_id}","starred_url":"https://api.github.com/users/crisanlucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisanlucid/subscriptions","organizations_url":"https://api.github.com/users/crisanlucid/orgs","repos_url":"https://api.github.com/users/crisanlucid/repos","events_url":"https://api.github.com/users/crisanlucid/events{/privacy}","received_events_url":"https://api.github.com/users/crisanlucid/received_events","type":"User","site_admin":false},"repo":{"id":171663304,"node_id":"MDEwOlJlcG9zaXRvcnkxNzE2NjMzMDQ=","name":"react-quiz","full_name":"crisanlucid/react-quiz","private":false,"owner":{"login":"crisanlucid","id":340843,"node_id":"MDQ6VXNlcjM0MDg0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/340843?v=4","gravatar_id":"","url":"https://api.github.com/users/crisanlucid","html_url":"https://github.com/crisanlucid","followers_url":"https://api.github.com/users/crisanlucid/followers","following_url":"https://api.github.com/users/crisanlucid/following{/other_user}","gists_url":"https://api.github.com/users/crisanlucid/gists{/gist_id}","starred_url":"https://api.github.com/users/crisanlucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisanlucid/subscriptions","organizations_url":"https://api.github.com/users/crisanlucid/orgs","repos_url":"https://api.github.com/users/crisanlucid/repos","events_url":"https://api.github.com/users/crisanlucid/events{/privacy}","received_events_url":"https://api.github.com/users/crisanlucid/received_events","type":"User","site_admin":false},"html_url":"https://github.com/crisanlucid/react-quiz","description":"Create App using React and craft a QUIZ functionality","fork":false,"url":"https://api.github.com/repos/crisanlucid/react-quiz","forks_url":"https://api.github.com/repos/crisanlucid/react-quiz/forks","keys_url":"https://api.github.com/repos/crisanlucid/react-quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crisanlucid/react-quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crisanlucid/react-quiz/teams","hooks_url":"https://api.github.com/repos/crisanlucid/react-quiz/hooks","issue_events_url":"https://api.github.com/repos/crisanlucid/react-quiz/issues/events{/number}","events_url":"https://api.github.com/repos/crisanlucid/react-quiz/events","assignees_url":"https://api.github.com/repos/crisanlucid/react-quiz/assignees{/user}","branches_url":"https://api.github.com/repos/crisanlucid/react-quiz/branches{/branch}","tags_url":"https://api.github.com/repos/crisanlucid/react-quiz/tags","blobs_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crisanlucid/react-quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/crisanlucid/react-quiz/languages","stargazers_url":"https://api.github.com/repos/crisanlucid/react-quiz/stargazers","contributors_url":"https://api.github.com/repos/crisanlucid/react-quiz/contributors","subscribers_url":"https://api.github.com/repos/crisanlucid/react-quiz/subscribers","subscription_url":"https://api.github.com/repos/crisanlucid/react-quiz/subscription","commits_url":"https://api.github.com/repos/crisanlucid/react-quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/crisanlucid/react-quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/crisanlucid/react-quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/crisanlucid/react-quiz/contents/{+path}","compare_url":"https://api.github.com/repos/crisanlucid/react-quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crisanlucid/react-quiz/merges","archive_url":"https://api.github.com/repos/crisanlucid/react-quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crisanlucid/react-quiz/downloads","issues_url":"https://api.github.com/repos/crisanlucid/react-quiz/issues{/number}","pulls_url":"https://api.github.com/repos/crisanlucid/react-quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/crisanlucid/react-quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/crisanlucid/react-quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crisanlucid/react-quiz/labels{/name}","releases_url":"https://api.github.com/repos/crisanlucid/react-quiz/releases{/id}","deployments_url":"https://api.github.com/repos/crisanlucid/react-quiz/deployments","created_at":"2019-02-20T11:47:04Z","updated_at":"2019-02-26T12:15:14Z","pushed_at":"2019-03-11T16:29:19Z","git_url":"git://github.com/crisanlucid/react-quiz.git","ssh_url":"git@github.com:crisanlucid/react-quiz.git","clone_url":"https://github.com/crisanlucid/react-quiz.git","svn_url":"https://github.com/crisanlucid/react-quiz","homepage":null,"size":185,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"develop"}},"base":{"label":"crisanlucid:develop","ref":"develop","sha":"8d0ea92e1e036a4280cc9d39176dac61e4648292","user":{"login":"crisanlucid","id":340843,"node_id":"MDQ6VXNlcjM0MDg0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/340843?v=4","gravatar_id":"","url":"https://api.github.com/users/crisanlucid","html_url":"https://github.com/crisanlucid","followers_url":"https://api.github.com/users/crisanlucid/followers","following_url":"https://api.github.com/users/crisanlucid/following{/other_user}","gists_url":"https://api.github.com/users/crisanlucid/gists{/gist_id}","starred_url":"https://api.github.com/users/crisanlucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisanlucid/subscriptions","organizations_url":"https://api.github.com/users/crisanlucid/orgs","repos_url":"https://api.github.com/users/crisanlucid/repos","events_url":"https://api.github.com/users/crisanlucid/events{/privacy}","received_events_url":"https://api.github.com/users/crisanlucid/received_events","type":"User","site_admin":false},"repo":{"id":171663304,"node_id":"MDEwOlJlcG9zaXRvcnkxNzE2NjMzMDQ=","name":"react-quiz","full_name":"crisanlucid/react-quiz","private":false,"owner":{"login":"crisanlucid","id":340843,"node_id":"MDQ6VXNlcjM0MDg0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/340843?v=4","gravatar_id":"","url":"https://api.github.com/users/crisanlucid","html_url":"https://github.com/crisanlucid","followers_url":"https://api.github.com/users/crisanlucid/followers","following_url":"https://api.github.com/users/crisanlucid/following{/other_user}","gists_url":"https://api.github.com/users/crisanlucid/gists{/gist_id}","starred_url":"https://api.github.com/users/crisanlucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisanlucid/subscriptions","organizations_url":"https://api.github.com/users/crisanlucid/orgs","repos_url":"https://api.github.com/users/crisanlucid/repos","events_url":"https://api.github.com/users/crisanlucid/events{/privacy}","received_events_url":"https://api.github.com/users/crisanlucid/received_events","type":"User","site_admin":false},"html_url":"https://github.com/crisanlucid/react-quiz","description":"Create App using React and craft a QUIZ functionality","fork":false,"url":"https://api.github.com/repos/crisanlucid/react-quiz","forks_url":"https://api.github.com/repos/crisanlucid/react-quiz/forks","keys_url":"https://api.github.com/repos/crisanlucid/react-quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crisanlucid/react-quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crisanlucid/react-quiz/teams","hooks_url":"https://api.github.com/repos/crisanlucid/react-quiz/hooks","issue_events_url":"https://api.github.com/repos/crisanlucid/react-quiz/issues/events{/number}","events_url":"https://api.github.com/repos/crisanlucid/react-quiz/events","assignees_url":"https://api.github.com/repos/crisanlucid/react-quiz/assignees{/user}","branches_url":"https://api.github.com/repos/crisanlucid/react-quiz/branches{/branch}","tags_url":"https://api.github.com/repos/crisanlucid/react-quiz/tags","blobs_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crisanlucid/react-quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/crisanlucid/react-quiz/languages","stargazers_url":"https://api.github.com/repos/crisanlucid/react-quiz/stargazers","contributors_url":"https://api.github.com/repos/crisanlucid/react-quiz/contributors","subscribers_url":"https://api.github.com/repos/crisanlucid/react-quiz/subscribers","subscription_url":"https://api.github.com/repos/crisanlucid/react-quiz/subscription","commits_url":"https://api.github.com/repos/crisanlucid/react-quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/crisanlucid/react-quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/crisanlucid/react-quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/crisanlucid/react-quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/crisanlucid/react-quiz/contents/{+path}","compare_url":"https://api.github.com/repos/crisanlucid/react-quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crisanlucid/react-quiz/merges","archive_url":"https://api.github.com/repos/crisanlucid/react-quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crisanlucid/react-quiz/downloads","issues_url":"https://api.github.com/repos/crisanlucid/react-quiz/issues{/number}","pulls_url":"https://api.github.com/repos/crisanlucid/react-quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/crisanlucid/react-quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/crisanlucid/react-quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crisanlucid/react-quiz/labels{/name}","releases_url":"https://api.github.com/repos/crisanlucid/react-quiz/releases{/id}","deployments_url":"https://api.github.com/repos/crisanlucid/react-quiz/deployments","created_at":"2019-02-20T11:47:04Z","updated_at":"2019-02-26T12:15:14Z","pushed_at":"2019-03-11T16:29:19Z","git_url":"git://github.com/crisanlucid/react-quiz.git","ssh_url":"git@github.com:crisanlucid/react-quiz.git","clone_url":"https://github.com/crisanlucid/react-quiz.git","svn_url":"https://github.com/crisanlucid/react-quiz","homepage":null,"size":185,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/2"},"html":{"href":"https://github.com/crisanlucid/react-quiz/pull/2"},"issue":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/issues/2"},"comments":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/crisanlucid/react-quiz/statuses/c3ca710db370d6c57130a2a964b72ac2f0dc460d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"booya2nd"}}