don't convert to string (#2653)

fixes: #2647
This commit is contained in:
Erik Jan de Wit 2022-05-17 12:19:18 +02:00 committed by GitHub
parent 083848b4ac
commit 2e45c89edf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -291,7 +291,7 @@ export const RealmSettingsSessionsTab = ({
label={t("common:enabled")}
labelOff={t("common:disabled")}
isChecked={value}
onChange={(value) => onChange(value.toString())}
onChange={onChange}
/>
)}
/>