fix: sms autoconfirm toggle issue

This commit is contained in:
Kang Ming authored and Joshen Lim committed 2022-01-07 15:30:30 +08:00
1 parent 5c95f12eb9
commit bb1beffe72
1 file changed
+3 -3
+3 -3
View File
@@ -335,10 +335,10 @@ const Settings = () => {
<UIToggle
layout="horizontal"
label={authConfig.properties.SMS_AUTOCONFIRM.title}
onChange={() => {
handleToggle('SMS_AUTOCONFIRM')
onChange={(value) => {
handleToggle('SMS_AUTOCONFIRM', !value)
}}
checked={model.SMS_AUTOCONFIRM}
checked={!model.SMS_AUTOCONFIRM}
descriptionText={authConfig.properties.SMS_AUTOCONFIRM.help}
/>
</>