From dde0699a6c5e9b034dfaedfbb80594a4ff22b4ce Mon Sep 17 00:00:00 2001 From: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com> Date: Sat, 1 Mar 2025 21:18:07 +0300 Subject: [PATCH] docs(fix): import outside of mdx code highlighter (#1605) --- docs/content/docs/plugins/one-tap.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/docs/plugins/one-tap.mdx b/docs/content/docs/plugins/one-tap.mdx index 13a5cd6c02..89620370d5 100644 --- a/docs/content/docs/plugins/one-tap.mdx +++ b/docs/content/docs/plugins/one-tap.mdx @@ -27,10 +27,11 @@ export const auth = betterAuth({ Add the client plugin and specify where the user should be redirected after sign-in or if additional verification (like 2FA) is needed. + +```ts import { createAuthClient } from "better-auth/client"; import { oneTapClient } from "better-auth/client/plugins"; -```ts const authClient = createAuthClient({ plugins: [ oneTapClient({