diff --git a/src/utils/auth.ts b/src/utils/auth.ts index f976452..3e5a633 100644 --- a/src/utils/auth.ts +++ b/src/utils/auth.ts @@ -23,12 +23,10 @@ export function setUserToLocalStorage(user?: User) { if (user?.uid) { localStorage.setItem("userId", user.uid); localStorage.setItem("userName", user.displayName || ""); - localStorage.setItem("apiKey", user.apiKey || ""); } } export function clearUserInLocalStorage() { localStorage.removeItem("userId"); localStorage.removeItem("userName"); - localStorage.removeItem("apiKey"); }