Skip to content

Commit

Permalink
debug copy group key
Browse files Browse the repository at this point in the history
  • Loading branch information
hj940709 committed Oct 15, 2024
1 parent 4392b7a commit 0eae893
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions client/components/GroupView/GroupKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ const GroupKey = () => {
wordBreak: 'break-all',
}}
>
<CopyToClipboard text={token}>
<Popup
position="top center"
content={<FormattedMessage id="copy-key" />}
trigger={
<Button type="button" onClick={handleTokenCopy}>
<Popup
position="top center"
content={<FormattedMessage id="copy-key" />}
trigger={
<CopyToClipboard text={token}>
<Button type="button" onClick={handleTokenCopy} disabled={!token}>
<Icon name="copy" size="large" />
</Button>
}
/>
</CopyToClipboard>
</CopyToClipboard>
}
/>
<span style={{ margin: 'auto', padding: '0.5em' }}>{token}</span>
</div>
<div
Expand Down

0 comments on commit 0eae893

Please sign in to comment.