You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
251 B

import AsyncStorage from "@react-native-async-storage/async-storage";
export const deleteFavoriteCity = async () => {
try {
await AsyncStorage.removeItem('favorite_city')
} catch(e) {
console.log("An error occurred", e);
}
}