0
Fork 0
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:
Wang Sijie 2022-06-28 17:30:15 +08:00 committed by GitHub
parent 8c0ceff574
commit da4878492f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,8 @@ const ConnectorDetails = () => {
return;
}
setSaveError(undefined);
if (!config) {
setSaveError(t('connector_details.save_error_empty_config'));