Submitting a form in React | Hacker News Reader