sign up flow updated

This commit is contained in:
Sanidhya Kumar Verma
2024-08-29 16:37:55 +00:00
committed by GitHub
parent 11a1f7897a
commit 0f18202280
4 changed files with 79 additions and 12 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ export const tokenCache = {
}
return item;
} catch (error) {
console.error("SecureStore get item error: ", error);
console.error("GET_TOKEN_CACHE: ", error);
await SecureStore.deleteItemAsync(key);
return null;
}
@@ -26,7 +26,7 @@ export const tokenCache = {
try {
return SecureStore.setItemAsync(key, value);
} catch (err) {
console.error("TOKEN_CACHE: ", err);
console.error("SAVE_TOKEN_CACHE: ", err);
return;
}