From cb62a9bb18914999875e2a64ab208e95e10eba57 Mon Sep 17 00:00:00 2001 From: AruSeito <41471697+AruSeito@users.noreply.github.com> Date: Wed, 17 Apr 2024 16:16:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20update=20animation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/PreviewChat/PresetOptions/mobile/hook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/agent/src/components/PreviewChat/PresetOptions/mobile/hook.ts b/apps/agent/src/components/PreviewChat/PresetOptions/mobile/hook.ts index 4c8b9f1e..6f3dfa9f 100644 --- a/apps/agent/src/components/PreviewChat/PresetOptions/mobile/hook.ts +++ b/apps/agent/src/components/PreviewChat/PresetOptions/mobile/hook.ts @@ -1,7 +1,7 @@ import { stagger, useAnimate } from "framer-motion" import { useEffect } from "react" -const staggerMenuItems = stagger(0.1, { startDelay: 0.2 }) +const staggerMenuItems = stagger(0.15, { startDelay: 0.1, ease: "easeInOut" }) export function useMenuAnimation() { const [scope, animate] = useAnimate()