I'm using Firebase for authentication and I'm using the onAuthStateChanged observer.
I don't have a console.log() set up for user, but for some reason it logs to the console. I definitely don't want my user credentials logging to the console, so I was curious if anyone knew why this was happening and how I can stop it from开发者_开发技巧 logging.
  useEffect(() => {
    auth.onAuthStateChanged((user) => {
      setUserStatus(!!user);
    });
  }, [userId, auth]);
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论