fix: remove non-functional animation classes from CopyButton

tailwindcss-animate plugin is not installed, so animate-in/fade-in/zoom-in-75
classes have no effect. Remove them to avoid confusion.
This commit is contained in:
雨霖铃
2026-06-05 20:43:02 +08:00
parent 70b799aa2d
commit 595eb59726
+1 -1
View File
@@ -62,7 +62,7 @@ export const CopyButton: React.FC<CopyButtonProps> = ({
{...props} {...props}
> >
{copied ? ( {copied ? (
<Check className="h-[1.2em] w-[1.2em] animate-in fade-in zoom-in-75 duration-200" /> <Check className="h-[1.2em] w-[1.2em]" />
) : ( ) : (
<Copy className="h-[1.2em] w-[1.2em]" /> <Copy className="h-[1.2em] w-[1.2em]" />
)} )}