From feb6c10417c021f32503f1d6496707503357d35c Mon Sep 17 00:00:00 2001 From: Jeet Debnath Date: Thu, 26 Mar 2026 15:26:54 +0530 Subject: [PATCH] select text disabled --- src/contexts/AuthContext.tsx | 2 +- src/index.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/contexts/AuthContext.tsx b/src/contexts/AuthContext.tsx index b748ff3..2cb0ccb 100644 --- a/src/contexts/AuthContext.tsx +++ b/src/contexts/AuthContext.tsx @@ -130,7 +130,7 @@ export function AuthProvider({ children }: { children: ReactNode }) { try { console.log('[Auth] Fetching user by email:', email) const existingUser = await getUserByEmail(email, token) as MongoUser - console.log('[Auth] Found existing user:', existingUser.id) + // console.log('[Auth] Found existing user:', existingUser.id) setUserId(existingUser.id) setMongoUser(existingUser) } catch (error) { diff --git a/src/index.css b/src/index.css index f86ba70..591dce2 100644 --- a/src/index.css +++ b/src/index.css @@ -5,6 +5,11 @@ *::before, *::after { box-sizing: border-box; + user-select: none; +} + +input, textarea { + user-select: text; } :root {