From 8fcc758fe98640be2fc24f89e7c6259be8a52cec Mon Sep 17 00:00:00 2001 From: Adarsh Madrecha Date: Sat, 10 May 2025 19:46:16 +0530 Subject: [PATCH] docs: update imports in hono/client --- docs/content/docs/integrations/hono.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/integrations/hono.mdx b/docs/content/docs/integrations/hono.mdx index 1cdae2c8cf..ff3ea0ee76 100644 --- a/docs/content/docs/integrations/hono.mdx +++ b/docs/content/docs/integrations/hono.mdx @@ -155,7 +155,7 @@ export const auth = createAuth({ When using the Hono client (`@hono/client`) to make requests to your Better Auth-protected endpoints, you need to configure it to send credentials (cookies) with cross-origin requests. ```ts title="api.ts" -import { hc } from "@hono/client"; +import { hc } from "hono/client"; import type { AppType } from "./server"; // Your Hono app type const client = hc("http://localhost:8787/", {