This commit is contained in:
guanghechen 2024-07-10 16:32:24 +08:00
parent e775b6ea5e
commit cfa6efc6ed
6 changed files with 8 additions and 34 deletions

View file

@ -28,7 +28,7 @@ export const CopyButton: React.FC<ICopyButtonProps> = props => {
const contentForCopy: string = calcContentForCopy();
copy(contentForCopy);
setStatus(CopyStatus.COPIED);
} catch (_error) {
} catch () {
setStatus(CopyStatus.FAILED);
}
}