diff --git a/app/src/app/auth/connect/page.js b/app/src/app/auth/connect/page.js index bcc6466..19b6e97 100644 --- a/app/src/app/auth/connect/page.js +++ b/app/src/app/auth/connect/page.js @@ -1,13 +1,12 @@ -"use client" +"use client"; import React, { useEffect } from "react"; -import { getAuth } from "firebase/auth"; +import { auth } from "../../../../shared/firebase"; // Adjust path as needed const Connect = () => { useEffect(() => { const authenticate = async () => { try { - const auth = getAuth(); const user = auth.currentUser; if (user) {