import { initializeApp } from 'gstatic.com/firebasejs/9.6.10/firebase/app.js';
import { getAuth, onAuthStateChanged} from 'gstatic.com/firebasejs/9.6.10/firebase/auth.js'; // Your web app'
我读过关于onAuthStateChanged的文章,但是我不知道如何在代码中使用它。(我想在我的profile.write js中使用,但我不知道怎么写)。或者从饼干那里得到一个令牌然后收到它?setPersistence, signInWithRedirect, inMemoryPersistence } from "https://www.gstatic.com/firebasejs/9.6.10/firebase-auth.js";
// TO