mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
Fix CopyLinkButton children type error
This commit is contained in:
parent
6420dccd52
commit
c09feafde8
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ export default function CopyLinkButton(props: CopyLinkProps) {
|
|||
{...props}
|
||||
>
|
||||
<Icon glyph="link" size={24} />
|
||||
{isClicked ? 'Copied!' : children}
|
||||
<span>{isClicked ? 'Copied!' : children}</span>
|
||||
</StyledCopyLinkButton>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue