fix: add type assertions for Motion animation properties in team page

This commit is contained in:
CREDO23 2025-12-16 06:37:29 +00:00
parent 51216f0d04
commit f69b49e4c0

View file

@ -116,7 +116,7 @@ import { cn } from "@/lib/utils";
// Animation variants
const fadeInUp = {
hidden: { opacity: 0, y: 20 },
visible: { opacity: 1, y: 0, transition: { duration: 0.4, ease: "easeOut" } },
visible: { opacity: 1, y: 0, transition: { duration: 0.4, ease: "easeOut" as const} },
};
const staggerContainer = {
@ -132,7 +132,7 @@ const cardVariants = {
visible: {
opacity: 1,
scale: 1,
transition: { type: "spring", stiffness: 300, damping: 30 },
transition: { type: "spring" as const, stiffness: 300, damping: 30 },
},
};
@ -882,7 +882,7 @@ function InvitesTab({
size="sm"
className="gap-2"
onClick={() => copyInviteLink(invite)}
disabled={isInactive}
disabled={Boolean(isInactive)}
>
{copiedId === invite.id ? (
<>