Skip to content

Commit

Permalink
Fix reactive value in locale switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
zobweyt committed Aug 20, 2024
1 parent d2267fd commit 66b8ab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/ui/locale-switcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const LocaleSwitcher: Component = () => {
options={[...Object.keys(SUPPORTED_CULTURES)]}
allowDuplicateSelectionEvents={false}
disallowEmptySelection={true}
value={i18n.locale()}
defaultValue={i18n.locale()}
onChange={i18n.setLocale}
itemComponent={(props) => (
Expand Down

0 comments on commit 66b8ab8

Please sign in to comment.