fix: add repeat api key name tip

This commit is contained in:
Tristan Yang
2022-12-31 22:30:48 +08:00
parent 7fa50567ef
commit 1c280255ad
@@ -37,7 +37,9 @@ const CreateAPIKeyModal = ({ closeModal, uid }: Props) => {
case 406: case 406:
toast.error("Invalid Webhook URL!"); toast.error("Invalid Webhook URL!");
break; break;
case 409:
toast.error("Name Already Exists!");
break;
default: default:
break; break;
} }