Skip to content

Commit c5b59e1

Browse files
committed
refactor: remove unused copyText prop from JsonBlock component
1 parent 11ef324 commit c5b59e1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/modules/JsonBlock.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ type JsonBlockProps = {
77
className?: string;
88
collapsed?: number;
99
enableClipboard?: boolean;
10-
copyText?: string;
1110
};
1211

1312
const JsonBlock = ({
1413
children,
1514
className,
1615
collapsed = 1,
1716
enableClipboard = true,
18-
copyText = 'Copy',
1917
}: JsonBlockProps) => {
2018
let jsonData: object;
2119
let rawToCopy: string;

0 commit comments

Comments
 (0)