How To Stop Running Code Twice In React.js | Code Ryan | Podwise