feat(ErrorBlock): add success message on clipboard copy action

This commit is contained in:
suyao 2025-09-04 00:54:32 +08:00
parent 3d555943c4
commit b9fc982901
No known key found for this signature in database

View File

@ -153,6 +153,7 @@ const ErrorDetailModal: React.FC<ErrorDetailModalProps> = ({ open, onClose, erro
}
navigator.clipboard.writeText(errorText)
window.message.success(t('message.copied'))
}
const renderErrorDetails = (error?: SerializedError) => {