mirror of
https://github.com/urosran/cally.git
synced 2025-07-10 15:17:17 +00:00
11 lines
271 B
TypeScript
11 lines
271 B
TypeScript
import {useMutation} from "react-query";
|
|
import auth from "@react-native-firebase/auth";
|
|
|
|
export const useSignOut = () => {
|
|
return useMutation({
|
|
mutationKey: ["signOut"],
|
|
mutationFn: async () => {
|
|
await auth().signOut()
|
|
}
|
|
});
|
|
} |