diff --git a/frontend-admin/src/auth/tokenStorage.ts b/frontend-admin/src/auth/tokenStorage.ts index a8e35f81..1a33531c 100644 --- a/frontend-admin/src/auth/tokenStorage.ts +++ b/frontend-admin/src/auth/tokenStorage.ts @@ -31,7 +31,6 @@ export const getRole = () => AsyncStorage.getItem(ROLE_KEY); export const setRole = (role: string) => AsyncStorage.setItem(ROLE_KEY, role); export const removeRole = () => AsyncStorage.removeItem(ROLE_KEY); -// Clear all auth data export const clearAllAuth = async () => { await AsyncStorage.multiRemove([ TOKEN_KEY, diff --git a/mobile/src/auth/tokenStorage.ts b/mobile/src/auth/tokenStorage.ts index 57d70ad9..b61a7ff3 100644 --- a/mobile/src/auth/tokenStorage.ts +++ b/mobile/src/auth/tokenStorage.ts @@ -32,7 +32,6 @@ export const getRole = () => AsyncStorage.getItem(ROLE_KEY); export const setRole = (role: string) => AsyncStorage.setItem(ROLE_KEY, role); export const removeRole = () => AsyncStorage.removeItem(ROLE_KEY); -// Clear all auth data export const clearAllAuth = async () => { await AsyncStorage.multiRemove([ TOKEN_KEY,