Skip to content

Commit

Permalink
Merge pull request #28 from igorline/clipboard-copy
Browse files Browse the repository at this point in the history
fix: replace copy-to-clipboard with clipboard-copy package
  • Loading branch information
0xbe37e authored Jun 6, 2024
2 parents 779bcdd + 08f8d95 commit 2caf921
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"buffer": "^6.0.3",
"chrome-extension-core": "0.1.8",
"classnames": "^2.3.2",
"clipboard-copy": "^4.0.1",
"colorjs.io": "^0.5.0",
"copy-to-clipboard": "^3.3.3",
"d3": "^5.0.0",
"d3-graphviz": "2.6.1",
"dayjs": "^1.11.6",
Expand Down
2 changes: 1 addition & 1 deletion src/common/components/CopyButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, {
type PropsWithChildren,
type CSSProperties
} from 'react'
import copy from 'copy-to-clipboard'
import copy from 'clipboard-copy'
import cls from 'classnames'

import type { BaseComponent } from '@common/types'
Expand Down
2 changes: 1 addition & 1 deletion src/content/etherscan/components/CopyByteCodeBtn/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type FC, useState } from 'react'
import cls from 'classnames'
import copy from 'copy-to-clipboard'
import copy from 'clipboard-copy'

import styles from './index.module.less'

Expand Down
2 changes: 1 addition & 1 deletion src/content/scans/components/CopyByteCodeBtn/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type FC, useState } from 'react'
import cls from 'classnames'
import copy from 'copy-to-clipboard'
import copy from 'clipboard-copy'

import styles from './index.module.less'

Expand Down

0 comments on commit 2caf921

Please sign in to comment.