diff --git a/README.md b/README.md index 6a548cb..8548aed 100644 --- a/README.md +++ b/README.md @@ -316,7 +316,7 @@ interface LinkProps extends JSX.HTMLAttributes { } export default function Link({ href, children, ...props }: LinkProps) { - const locale = useLocale() + const { locale } = useLocale() const localizedHref = `/${locale}${href}` diff --git a/deno.json b/deno.json index 2eb6004..59d9079 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@elsoul/fresh-i18n", - "version": "1.1.2", + "version": "1.1.3", "description": "A simple and flexible internationalization (i18n) plugin for Deno's Fresh framework.", "runtimes": ["deno", "browser"], "exports": "./mod.ts",