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:
parent
61a6b1ab4f
commit
bdbeee0db5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue