Skip to content

Commit 7100b07

Browse files
committed
docs(hono): fix wrong importing
1 parent 1558cf6 commit 7100b07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/hono/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Detect locale from `accept-language` header:
4444

4545
```ts
4646
import { Hono } from 'hono'
47-
import { getHeaderLocale } from '@intlify/h3'
47+
import { getHeaderLocale } from '@intlify/hono'
4848

4949
const app = new Hono()
5050

@@ -59,7 +59,7 @@ Detect locale from URL query:
5959

6060
```ts
6161
import { Hono } from 'hono'
62-
import { getQueryLocale } from '@intlify/h3'
62+
import { getQueryLocale } from '@intlify/hono'
6363

6464
const app = new Hono()
6565

@@ -164,7 +164,7 @@ import { Hono } from 'hono'
164164
import { defineIntlifyMiddleware, getCookieLocale } from '@intlify/hono'
165165

166166
import type { Context } from 'hono'
167-
import type { DefineLocaleMessage, CoreContext } from '@intlify/h3'
167+
import type { DefineLocaleMessage, CoreContext } from '@intlify/hono'
168168

169169
const loader = (path: string) => import(path).then(m => m.default)
170170
const messages: Record<string, () => ReturnType<typeof loader>> = {

0 commit comments

Comments
 (0)