mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 15:49:29 +08:00
feat(ErrorBlock): add success message on clipboard copy action
This commit is contained in:
parent
3d555943c4
commit
b9fc982901
@ -153,6 +153,7 @@ const ErrorDetailModal: React.FC<ErrorDetailModalProps> = ({ open, onClose, erro
|
|||||||
}
|
}
|
||||||
|
|
||||||
navigator.clipboard.writeText(errorText)
|
navigator.clipboard.writeText(errorText)
|
||||||
|
window.message.success(t('message.copied'))
|
||||||
}
|
}
|
||||||
|
|
||||||
const renderErrorDetails = (error?: SerializedError) => {
|
const renderErrorDetails = (error?: SerializedError) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user