Skip to content

Commit

Permalink
fix locale
Browse files Browse the repository at this point in the history
  • Loading branch information
KishiTheMechanic committed Oct 30, 2024
1 parent 45f156c commit 3ba755a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ interface LinkProps extends JSX.HTMLAttributes<HTMLAnchorElement> {
}

export default function Link({ href, children, ...props }: LinkProps) {
const locale = useLocale()
const { locale } = useLocale()

const localizedHref = `/${locale}${href}`

Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 3ba755a

Please sign in to comment.