diff --git a/frontend/src/Navigation.tsx b/frontend/src/Navigation.tsx index d858bc02..5aa694f8 100644 --- a/frontend/src/Navigation.tsx +++ b/frontend/src/Navigation.tsx @@ -103,7 +103,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) { }) .catch((error) => { console.error('Failed to fetch conversations: ', error); - dispatch(setConversations({ ...conversations, loading: false })); + dispatch(setConversations({ data: null, loading: false })); }); }