mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-15 18:25:18 +02:00
fix: add type assertions for Motion animation properties in team page
This commit is contained in:
parent
51216f0d04
commit
f69b49e4c0
1 changed files with 3 additions and 3 deletions
|
|
@ -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 ? (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue