Skip to content

Commit 7582bb1

Browse files
pklaschkaCopilot
andauthored
Update lib/hono/useLocale.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3d00678 commit 7582bb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/hono/useLocale.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { currentLocaleStorage } from "./initHonolate.ts";
22

33
/**
4-
* Returns the current locale code. Must be used within a Hono JSX Renderer context.
4+
* Returns the current locale code. Must be used within the scope of the `initHonolate` middleware.
55
* @returns the current locale code
66
*/
77
export function useLocale(): string {

0 commit comments

Comments
 (0)