1
0
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:
Kamran Ahmed
2024-04-20 14:07:10 +01:00
parent 4db5cc920b
commit d2efad25a8

View File

@@ -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>
</>
)}