mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): reset connector form with updated data (#4144)
This commit is contained in:
parent
20ca27009f
commit
76d8527fb9
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ function ConnectorContent({ isDeleted, connectorData, onConnectorUpdated }: Prop
|
|||
/**
|
||||
* Note: reset form dirty state before updating the form data.
|
||||
*/
|
||||
reset();
|
||||
reset(convertResponseToForm(updatedConnector));
|
||||
onConnectorUpdated(updatedConnector);
|
||||
toast.success(t('general.saved'));
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue