diff --git a/web/src/components/Home/Tabs/Home.tsx b/web/src/components/Home/Tabs/Home.tsx index faf7c8f..2ca56fc 100644 --- a/web/src/components/Home/Tabs/Home.tsx +++ b/web/src/components/Home/Tabs/Home.tsx @@ -5,7 +5,6 @@ import { type FC } from "react"; const Home: FC = () => { const profile = useAuth((state) => state.profile); - console.log({ profile }); const signOut = useAuth((state) => state.signOut); return ( diff --git a/web/src/context/oauth/provider.tsx b/web/src/context/oauth/provider.tsx index ba83277..25e3fc0 100644 --- a/web/src/context/oauth/provider.tsx +++ b/web/src/context/oauth/provider.tsx @@ -19,8 +19,6 @@ export const OAuthProvider: FC = ({ children }) => { if (active && redirectURI) { const codeResponse = await codeApi(token, nonce); - console.log("gen code:", { codeResponse }); - const params = new URLSearchParams({ code: codeResponse.code, state, diff --git a/web/src/layout/AuthLayout.tsx b/web/src/layout/AuthLayout.tsx index 3b70782..af3f3b8 100644 --- a/web/src/layout/AuthLayout.tsx +++ b/web/src/layout/AuthLayout.tsx @@ -71,10 +71,6 @@ const AuthLayout = () => { useEffect(() => { if (!active) { - console.log( - "setting search params:", - Object.fromEntries(searchParams.entries()), - ); setActive(true); setClientID(searchParams.get("client_id") ?? ""); setRedirectURI(searchParams.get("redirect_uri") ?? ""); diff --git a/web/src/pages/Login/index.tsx b/web/src/pages/Login/index.tsx index ab26ddc..2123397 100644 --- a/web/src/pages/Login/index.tsx +++ b/web/src/pages/Login/index.tsx @@ -36,8 +36,6 @@ export default function LoginPage() { const onSubmit: SubmitHandler = useCallback( async (data) => { - console.log({ data }); - setLoading(true); setError(""); setSuccess(""); @@ -48,8 +46,6 @@ export default function LoginPage() { password: data.password, }); - console.log(response); - const account = await repo.save({ accountId: response.id, label: response.full_name, diff --git a/web/src/pages/Register/index.tsx b/web/src/pages/Register/index.tsx index cdbd569..67a81d5 100644 --- a/web/src/pages/Register/index.tsx +++ b/web/src/pages/Register/index.tsx @@ -31,8 +31,6 @@ export default function RegisterPage() { const onSubmit: SubmitHandler = useCallback( async (data) => { - console.log({ data }); - setLoading(true); setError(""); setSuccess(""); diff --git a/web/src/store/auth.ts b/web/src/store/auth.ts index d5293ea..a833cb4 100644 --- a/web/src/store/auth.ts +++ b/web/src/store/auth.ts @@ -72,8 +72,6 @@ export const useAuth = create((set, get) => ({ const accounts = await getAllAccounts(db); - console.log("loaded accounts:", accounts); - if (!accounts || accounts.length === 0) { set({ signInRequired: true }); } @@ -114,7 +112,6 @@ export const useAuth = create((set, get) => ({ try { const response = await fetchProfileApi(); - console.log("authenticate response:", response); try { // update local account information diff --git a/web/src/util/deviceId.ts b/web/src/util/deviceId.ts index a961a67..cccfd4c 100644 --- a/web/src/util/deviceId.ts +++ b/web/src/util/deviceId.ts @@ -12,7 +12,6 @@ export const getDeviceId = async () => { navigator.language, // Primary language navigator.maxTouchPoints, // Touch capability ]; - console.log(fingerprintParts); const rawFingerprint = fingerprintParts.join("|"); const encoder = new TextEncoder();