Something went wrong. Try again.
An ATproto social media client -- with an independent Appview.
Something went wrong. Try again.
302 B · 13 lines
TypeScript
at commit 8ce9bdb2
1234567891011121314import {useMutation} from '@tanstack/react-query'
import {useAgent} from '#/state/session'
export function useRequestEmailUpdate() { const agent = useAgent()
return useMutation({ mutationFn: async () => { return (await agent.com.atproto.server.requestEmailUpdate()).data }, })}