Update CopyOnClick.tsx

This commit is contained in:
Dane Everitt 2020-11-08 17:13:55 -08:00
parent 842652a6b8
commit 085fa8dcb5
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -53,7 +53,7 @@ const CopyOnClick: React.FC<{ text: string }> = ({ text, children }) => {
}
</Fade>
</SwitchTransition>
<CopyToClipboard onCopy={onCopy} text={text} options={{ debug: true }}>
<CopyToClipboard onCopy={onCopy} text={text} options={{ debug: true }} css={tw`cursor-pointer`}>
{children}
</CopyToClipboard>
</>