0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -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; return;
} }
setSaveError(undefined);
if (!config) { if (!config) {
setSaveError(t('connector_details.save_error_empty_config')); setSaveError(t('connector_details.save_error_empty_config'));