0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

fix(console): specify toast type (#1499)

This commit is contained in:
Gao Sun 2022-07-08 23:45:36 +08:00 committed by GitHub
parent 61a6b1ab4f
commit bdbeee0db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ const ConnectorContent = ({ isDeleted, connectorData, onConnectorUpdated }: Prop
const handleSave = async () => { const handleSave = async () => {
if (!config) { if (!config) {
toast(t('connector_details.save_error_empty_config')); toast.error(t('connector_details.save_error_empty_config'));
return; return;
} }