mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): clear error message before saving connector config (#1273)
This commit is contained in:
parent
8c0ceff574
commit
da4878492f
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ const ConnectorDetails = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
setSaveError(undefined);
|
||||
|
||||
if (!config) {
|
||||
setSaveError(t('connector_details.save_error_empty_config'));
|
||||
|
||||
|
|
Loading…
Reference in a new issue