diff --git a/website/src/components/card/index.tsx b/website/src/components/card/index.tsx index b56bb52..22521f2 100644 --- a/website/src/components/card/index.tsx +++ b/website/src/components/card/index.tsx @@ -16,6 +16,7 @@ const Card = (props: CardProps) => { toast("Copied to clipboard!", { icon: "✨", description: `${txt}`, + onAutoClose: () => copy(""), }) } @@ -26,7 +27,9 @@ const Card = (props: CardProps) => { onClick={() => copyToClipboard(`<${props.name} />`)} > {props.icon} -

{props.name}

+

+ {value ? "Copied!" : props.name} +

) }