Skip to content

Commit

Permalink
Merge branch 'main' into firebase-conflict-reosulutions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWangY authored Feb 25, 2024
2 parents 9263c96 + 1bd5642 commit 87377e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/contexts/SocketContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export const SocketProvider = ({ children }: { children: React.ReactNode }) => {
setMounted(true);
}


if (!mounted) {
initializeSocket();
}

return () => {
console.log("[LOG]: Cleaning up intializeSocket useEffect");
};
Expand Down
4 changes: 2 additions & 2 deletions client/src/services/store.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { User, createUserWithEmailAndPassword, onAuthStateChanged, signInWithEmailAndPassword, signOut } from 'firebase/auth'
import { Store } from 'pullstate'
import { auth, app } from '../configs/firebaseConfig'


import { FirebaseError } from 'firebase/app';
import { useUser } from '../contexts/UserContext';

interface AuthStoreInterface {
isLoggedin: boolean,
Expand Down

0 comments on commit 87377e6

Please sign in to comment.