To address WEB-3038, moves some of the logic behind the upload-redirect page's redirects on profile requirements into a useEffect that will only fire when those properties have changed as opposed to every potential render of the component as the newer React will attempt to rerender on the dispatch() calls, leading to a potential loop.
To address WEB-3038, moves some of the logic behind the upload-redirect page's redirects on profile requirements into a useEffect that will only fire when those properties have changed as opposed to every potential render of the component as the newer React will attempt to rerender on the dispatch() calls, leading to a potential loop.