{"action":"created","issue":{"url":"https://api.github.com/repos/narichasavanorkejoyce/pomodoro-client/issues/3","repository_url":"https://api.github.com/repos/narichasavanorkejoyce/pomodoro-client","labels_url":"https://api.github.com/repos/narichasavanorkejoyce/pomodoro-client/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/narichasavanorkejoyce/pomodoro-client/issues/3/comments","events_url":"https://api.github.com/repos/narichasavanorkejoyce/pomodoro-client/issues/3/events","html_url":"https://github.com/narichasavanorkejoyce/pomodoro-client/issues/3","id":233689968,"number":3,"title":"Adds item twice","user":{"login":"narichasavanorkejoyce","id":20606223,"avatar_url":"https://avatars2.githubusercontent.com/u/20606223?v=3","gravatar_id":"","url":"https://api.github.com/users/narichasavanorkejoyce","html_url":"https://github.com/narichasavanorkejoyce","followers_url":"https://api.github.com/users/narichasavanorkejoyce/followers","following_url":"https://api.github.com/users/narichasavanorkejoyce/following{/other_user}","gists_url":"https://api.github.com/users/narichasavanorkejoyce/gists{/gist_id}","starred_url":"https://api.github.com/users/narichasavanorkejoyce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narichasavanorkejoyce/subscriptions","organizations_url":"https://api.github.com/users/narichasavanorkejoyce/orgs","repos_url":"https://api.github.com/users/narichasavanorkejoyce/repos","events_url":"https://api.github.com/users/narichasavanorkejoyce/events{/privacy}","received_events_url":"https://api.github.com/users/narichasavanorkejoyce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-05T19:48:29Z","updated_at":"2017-06-05T21:02:48Z","closed_at":null,"body":"I opened up the add session form\r\nI put in a title\r\nI clicked cancel\r\nI opened up the add session form again\r\nI clicked submit\r\nTwo entries appeared for that session"},"comment":{"url":"https://api.github.com/repos/narichasavanorkejoyce/pomodoro-client/issues/comments/306309403","html_url":"https://github.com/narichasavanorkejoyce/pomodoro-client/issues/3#issuecomment-306309403","issue_url":"https://api.github.com/repos/narichasavanorkejoyce/pomodoro-client/issues/3","id":306309403,"user":{"login":"narichasavanorkejoyce","id":20606223,"avatar_url":"https://avatars2.githubusercontent.com/u/20606223?v=3","gravatar_id":"","url":"https://api.github.com/users/narichasavanorkejoyce","html_url":"https://github.com/narichasavanorkejoyce","followers_url":"https://api.github.com/users/narichasavanorkejoyce/followers","following_url":"https://api.github.com/users/narichasavanorkejoyce/following{/other_user}","gists_url":"https://api.github.com/users/narichasavanorkejoyce/gists{/gist_id}","starred_url":"https://api.github.com/users/narichasavanorkejoyce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narichasavanorkejoyce/subscriptions","organizations_url":"https://api.github.com/users/narichasavanorkejoyce/orgs","repos_url":"https://api.github.com/users/narichasavanorkejoyce/repos","events_url":"https://api.github.com/users/narichasavanorkejoyce/events{/privacy}","received_events_url":"https://api.github.com/users/narichasavanorkejoyce/received_events","type":"User","site_admin":false},"created_at":"2017-06-05T21:02:48Z","updated_at":"2017-06-05T21:02:48Z","body":"I believe I've solved this issue with the following code: \r\n```\r\nconst cancelNewSession = function () {\r\n  console.log('cancelNewSession ran')\r\n  $('#add-session')[0].reset()\r\n  $('body').removeClass('modal-open')\r\n  onGetSessions()\r\n}\r\n```"}}
{"actor":{"display_login":"narichasavanorkejoyce"}}