mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-12 19:33:45 +02:00
Update CopyOnClick.tsx
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user