Better animation duration

This commit is contained in:
2026-05-11 06:10:18 +02:00
parent d7ffa31602
commit 7e29141953
+2 -2
View File
@@ -43,8 +43,8 @@ export default function MorphText({ text }: MorphTextProps) {
animate={{ opacity: 1, y: 0 }} animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }} exit={{ opacity: 0, y: -10 }}
transition={{ transition={{
type: "tween", type: "keyframes",
duration: 1, duration: 0.6,
}} }}
className="inline-block" className="inline-block"
> >