From c9a4083ccf174fe8baf8a08b357d78793704b7c7 Mon Sep 17 00:00:00 2001 From: Nate Sesti <33237525+sestinj@users.noreply.github.com> Date: Sun, 27 Jul 2025 21:19:59 -0700 Subject: [PATCH] Update src/ui/hooks/useChat.ts Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- src/ui/hooks/useChat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/hooks/useChat.ts b/src/ui/hooks/useChat.ts index 91ad92d2f..a6f552365 100644 --- a/src/ui/hooks/useChat.ts +++ b/src/ui/hooks/useChat.ts @@ -61,7 +61,7 @@ export function useChat({ } // Initialize with empty array - will be populated asynchronously - return []; + return resume ? loadSession() ?? [] : []; } );