From 302907602b9960cd6cc2a1dca5f7891bca94d319 Mon Sep 17 00:00:00 2001 From: zaidmukaddam Date: Wed, 7 Aug 2024 19:48:58 +0530 Subject: [PATCH] refactor: Update transition delay for tool invocations in Home component --- app/page.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index ad15c44..652dfc0 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -394,7 +394,7 @@ export default function Home() { initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} exit={{ opacity: 0, y: -20 }} - transition={{ duration: 0.5, delay: 0.6 }} + transition={{ duration: 0.5, delay: 0.1 }} className="space-y-4 sm:space-y-6" > {messages.map((message, index) => ( @@ -415,14 +415,9 @@ export default function Home() { )} {message.toolInvocations?.map((toolInvocation: ToolInvocation, toolIndex: number) => ( - +
{renderToolInvocation(toolInvocation, toolIndex)} - +
))}
))}