How to loop inside JSX in React | Hacker News Reader