mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix: sms autoconfirm toggle issue
This commit is contained in:
1 parent
5c95f12eb9
commit
bb1beffe72
1 file changed
+3
-3
@@ -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}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user