Spaces:
Paused

dushyantsingh0 commited on
Commit
ae8e555
·
1 Parent(s): 8391be8

backend stabilization

Browse files
frontend/packages/shared/src/components/NexusHub.tsx CHANGED
@@ -57,6 +57,7 @@ export const NexusHub: React.FC<NexusHubProps> = ({ mode = "chat" }) => {
57
  messages,
58
  sessions,
59
  loading,
 
60
  historyLoading,
61
  statusMessage, // Added
62
  fetchSessions,
@@ -707,7 +708,7 @@ export const NexusHub: React.FC<NexusHubProps> = ({ mode = "chat" }) => {
707
  </div>
708
  </div>
709
  {s.narrative_preview && (
710
- <div style={{ fontSize: 11, color: COLORS.gray400, fontStyle: 'italic', lineClamp: 2, display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxDirection: 'vertical', overflow: 'hidden' }}>
711
  "{s.narrative_preview}..."
712
  </div>
713
  )}
 
57
  messages,
58
  sessions,
59
  loading,
60
+ error,
61
  historyLoading,
62
  statusMessage, // Added
63
  fetchSessions,
 
708
  </div>
709
  </div>
710
  {s.narrative_preview && (
711
+ <div style={{ fontSize: 11, color: COLORS.gray400, fontStyle: 'italic', lineClamp: 2, display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical' as any, overflow: 'hidden' }}>
712
  "{s.narrative_preview}..."
713
  </div>
714
  )}
frontend/packages/shared/src/contexts/NexusContext.tsx CHANGED
@@ -630,6 +630,7 @@ export const NexusProvider: React.FC<{ children: ReactNode }> = ({
630
  paginationLoading: false,
631
  totalSessions: 0,
632
  savedQueries: [],
 
633
  });
634
  };
635
 
 
630
  paginationLoading: false,
631
  totalSessions: 0,
632
  savedQueries: [],
633
+ stories: [],
634
  });
635
  };
636