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