mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix: reset form issue
This commit is contained in:
1 parent
eef88b4bde
commit
dd0acde3aa
1 file changed
+4
-1
@@ -232,7 +232,10 @@ const SmtpForm = observer(() => {
|
||||
label="Enable Custom SMTP"
|
||||
layout="flex"
|
||||
onChange={() => {
|
||||
// resetForm({ values: values, initialValues: INITIAL_VALUES })
|
||||
resetForm({
|
||||
values: values,
|
||||
initialValues: generateInitialValues(authConfig.config),
|
||||
})
|
||||
setEnableSmtp(!enableSmtp)
|
||||
}}
|
||||
descriptionText="Emails will be sent using your custom SMTP provider"
|
||||
|
||||
Reference in new issue
Block a user