Merge pull request #723 from edewit/warning
fixed default value warning
This commit is contained in:
commit
328f508237
2 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ export const LocalizationTab = ({
|
|||
<Controller
|
||||
name="internationalizationEnabled"
|
||||
control={control}
|
||||
defaultValue={realm?.internationalizationEnabled}
|
||||
defaultValue={false}
|
||||
render={({ onChange, value }) => (
|
||||
<Switch
|
||||
id="kc-l-internationalization"
|
||||
|
|
|
@ -244,7 +244,7 @@ export const RealmSettingsThemesTab = ({
|
|||
<Controller
|
||||
name="internationalizationEnabled"
|
||||
control={control}
|
||||
defaultValue={internationalizationEnabled}
|
||||
defaultValue={false}
|
||||
render={({ onChange, value }) => (
|
||||
<Switch
|
||||
id="kc-t-internationalization"
|
||||
|
|
Loading…
Reference in a new issue