Skip to content

Commit

Permalink
docs(i18n): fix changeLocale reference in i18n headless example (#5941
Browse files Browse the repository at this point in the history
)
  • Loading branch information
axieum authored May 13, 2024
1 parent 3046f96 commit 19d0745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/guides-concepts/i18n/i18n-headless.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const HomePage = () => {
<h1>{translate("page.home.title")}</h1>
<select
value={getLocale()}
onChange={(e) => changeLanguage(e.target.value)}
onChange={(e) => changeLocale(e.target.value)}
>
<option value="en">English</option>
<option value="de">German</option>
Expand Down

0 comments on commit 19d0745

Please sign in to comment.