We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cd6203 commit ed9d87eCopy full SHA for ed9d87e
.storybook/components/DocsHeader.tsx
@@ -72,7 +72,7 @@ export const InfoTable = ({
72
const supportsClipboardApi = typeof ClipboardItem !== 'undefined';
73
74
const handleCopy = async (e) => {
75
- const importStatementCell = e.currentTarget.parentElement.querySelector('[data-import]');
+ const importStatementCell = e.currentTarget.parentElement.parentElement.querySelector('[data-import-cell]');
76
if (supportsClipboardApi && importStatementCell) {
77
const html = new Blob([importStatementCell.outerHTML], { type: 'text/html' });
78
const text = new Blob([importStatementCell.outerText], { type: 'text/plain' });
0 commit comments