Update home screen.
This commit is contained in:
@ -1,12 +1,5 @@
|
||||
import * as SecureStore from 'expo-secure-store';
|
||||
|
||||
type UserData = {
|
||||
appleId: string;
|
||||
appleEmail: string;
|
||||
fullName: string;
|
||||
pushToken: string;
|
||||
};
|
||||
|
||||
export const saveUserData = async (userData: any) => {
|
||||
try {
|
||||
await SecureStore.setItemAsync('userData', JSON.stringify(userData));
|
||||
|
Reference in New Issue
Block a user