From 532c1acbd497772999d2a88879abe919ea5d78a4 Mon Sep 17 00:00:00 2001 From: bhavanakarwade Date: Fri, 6 Dec 2024 19:37:55 +0530 Subject: [PATCH] removed unnecessary logs --- src/api/Auth.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/api/Auth.ts b/src/api/Auth.ts index 7591daa1..1b984dd7 100644 --- a/src/api/Auth.ts +++ b/src/api/Auth.ts @@ -286,7 +286,6 @@ export const setToLocalStorage = async (key: string, value: any) =>{ export const getFromLocalStorage = async (key: string) => { try { const encryptedValue = localStorage.getItem(key); - console.log(`Retrieved from localStorage [${key}]:`, encryptedValue); if (!encryptedValue) { console.warn(`No value found in localStorage for key: ${key}`); @@ -294,7 +293,6 @@ export const getFromLocalStorage = async (key: string) => { } const decryptedValue = encryptedValue ? decryptData(encryptedValue) : ''; - console.log(`Decrypted value for [${key}]:`, decryptedValue); return decryptedValue; } catch (error) {