From 7e29141953d640d92b5eaf126464390c19aef4c6 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Mon, 11 May 2026 06:10:18 +0200 Subject: [PATCH] Better animation duration --- src/components/Morph.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Morph.tsx b/src/components/Morph.tsx index c4914bc..95e7f1f 100644 --- a/src/components/Morph.tsx +++ b/src/components/Morph.tsx @@ -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" >