Cant find twoFactor property in authClient

const { data, error } = await authClient.twoFactor.sendOtp()


I am getting a type error Property 'twoFactor' does not exist on type.

import { createAuthClient } from "better-auth/react"
export const authClient = createAuthClient()
Was this page helpful?