Update CopyOnClick.tsx
This commit is contained in:
parent
842652a6b8
commit
085fa8dcb5
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ const CopyOnClick: React.FC<{ text: string }> = ({ text, children }) => {
|
||||||
}
|
}
|
||||||
</Fade>
|
</Fade>
|
||||||
</SwitchTransition>
|
</SwitchTransition>
|
||||||
<CopyToClipboard onCopy={onCopy} text={text} options={{ debug: true }}>
|
<CopyToClipboard onCopy={onCopy} text={text} options={{ debug: true }} css={tw`cursor-pointer`}>
|
||||||
{children}
|
{children}
|
||||||
</CopyToClipboard>
|
</CopyToClipboard>
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in a new issue