changed around a file that had an issue with the animation that blocked vercel deployment

This commit is contained in:
Ivan Rudik
2025-11-09 12:45:32 +00:00
parent d82b68fb54
commit 805445084b
+3 -3
View File
@@ -173,9 +173,9 @@ const Card: React.FC<CardProps> = ({ cardData, colorWay, isFront, onSwipe, onRig
drag={isFront ? "x" : false} drag={isFront ? "x" : false}
dragConstraints={{ left: 0, right: 0, top: 0, bottom: 0 }} dragConstraints={{ left: 0, right: 0, top: 0, bottom: 0 }}
onDragEnd={handleDragEnd} onDragEnd={handleDragEnd}
initial={{ x: 500, opacity: 0 }} // Start off-screen to the right and invisible //initial={{ x: 500, opacity: 0 }} // Start off-screen to the right and invisible
animate={{ x: 0, opacity: 1 }} // Animate to its natural position and fully visible //animate={{ x: 0, opacity: 1 }} // Animate to its natural position and fully visible
transition={{ type: "spring", stiffness: 100, damping: 20 }} // Smooth spring animation //transition={{ type: "spring", stiffness: 100, damping: 20 }} // Smooth spring animation
> >
{/* Accept/Reject Badges */} {/* Accept/Reject Badges */}
<motion.div <motion.div