Bluesky app fork with some witchin' additions 馃挮
at main 13 lines 300 B view raw
1import {useMutation} from '@tanstack/react-query' 2 3import {useAgent} from '#/state/session' 4 5export function useRequestEmailVerification() { 6 const agent = useAgent() 7 8 return useMutation({ 9 mutationFn: async () => { 10 await agent.com.atproto.server.requestEmailConfirmation() 11 }, 12 }) 13}