Skip to content

Commit 7d3fd45

Browse files
authored
docs: fix import copying (#6572)
1 parent 96096c7 commit 7d3fd45

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.storybook/components/DocsHeader.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ export const InfoTable = ({ since, subComponents, mergeSubComponents }: InfoTabl
8585
<Button
8686
design={ButtonDesign.Transparent}
8787
className={clsx('ui5-content-density-compact', classes.copyBtn)}
88-
onClick={void handleCopy}
88+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
89+
onClick={handleCopy}
8990
icon={copyIcon}
9091
tooltip="copy"
9192
/>
@@ -113,7 +114,8 @@ export const InfoTable = ({ since, subComponents, mergeSubComponents }: InfoTabl
113114
<Button
114115
design={ButtonDesign.Transparent}
115116
className={clsx('ui5-content-density-compact', classes.copyBtn)}
116-
onClick={void handleCopy}
117+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
118+
onClick={handleCopy}
117119
icon={copyIcon}
118120
tooltip="copy"
119121
/>

0 commit comments

Comments
 (0)