fix lint
This commit is contained in:
parent
e775b6ea5e
commit
cfa6efc6ed
6 changed files with 8 additions and 34 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue