Skip to content

Commit cdbdd90

Browse files
lint fix
1 parent 8a9755f commit cdbdd90

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

  • frontend/src/widgets/copyable-cell

frontend/src/widgets/copyable-cell/index.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ import "./copyable-cell.css";
88
const { useToken } = theme;
99
const MAX_TOOLTIP_LENGTH = 500;
1010

11-
const CopyableCell = memo(function CopyableCell({ children, value, className = "" }) {
11+
const CopyableCell = memo(function CopyableCell({
12+
children,
13+
value,
14+
className = "",
15+
}) {
1216
const [copied, setCopied] = useState(false);
1317
const timeoutRef = useRef(null);
1418
const { token } = useToken();
@@ -81,7 +85,11 @@ const CopyableCell = memo(function CopyableCell({ children, value, className = "
8185
{copied ? (
8286
<CheckOutlined style={copiedIconStyle} />
8387
) : (
84-
<CopyOutlined style={copyIconStyle} onClick={doCopy} aria-label="Copy" />
88+
<CopyOutlined
89+
style={copyIconStyle}
90+
onClick={doCopy}
91+
aria-label="Copy"
92+
/>
8593
)}
8694
</div>
8795
);

0 commit comments

Comments
 (0)