fixed duplicate connection

This commit is contained in:
Ren Amamiya
2023-03-01 21:19:31 +07:00
parent 458f826958
commit 3b78123939
8 changed files with 31 additions and 52 deletions

View File

@@ -15,7 +15,6 @@ export default function Page() {
const [loading, setLoading] = useState(true);
useEffect(() => {
console.log(currentUser);
if (!currentUser) {
setTimeout(() => {
setLoading(false);