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 }}
exit={{ opacity: 0, y: -10 }}
transition={{
type: "tween",
duration: 1,
type: "keyframes",
duration: 0.6,
}}
className="inline-block"
>