Here\'s my issue: I am setting the state of currentUser, sometimes its undefined, sometimes its not (from the API). I then pass it to the second useEffect, I set the carrier