mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-19 07:31:24 +02:00
Add copy button
This commit is contained in:
@@ -218,7 +218,7 @@ export function UpdatePublicProfileForm() {
|
||||
>
|
||||
{!isCopied && <Copy className="h-3 w-3 stroke-[2.5]" />}
|
||||
{isCopied && <Check className="h-3 w-3 stroke-[2.5]" />}
|
||||
{!isCopied ? 'Copy' : 'Copied!'}
|
||||
{!isCopied ? 'Copy URL' : 'Copied!'}
|
||||
</button>
|
||||
</>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user