From 2e45c89edfd936e1e29627577918804a36b9d0f9 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 17 May 2022 12:19:18 +0200 Subject: [PATCH] don't convert to string (#2653) fixes: #2647 --- src/realm-settings/SessionsTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realm-settings/SessionsTab.tsx b/src/realm-settings/SessionsTab.tsx index fba9c94c7b..084e8885fe 100644 --- a/src/realm-settings/SessionsTab.tsx +++ b/src/realm-settings/SessionsTab.tsx @@ -291,7 +291,7 @@ export const RealmSettingsSessionsTab = ({ label={t("common:enabled")} labelOff={t("common:disabled")} isChecked={value} - onChange={(value) => onChange(value.toString())} + onChange={onChange} /> )} />