Skip to content

Commit fbc52d4

Browse files
committed
Nebula: Fix chat session randomly showing empty state after first prompt
1 parent 64ffe19 commit fbc52d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/dashboard/src/app/nebula-app/(app)/components/ChatPageContent.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ export function ChatPageContent(props: {
161161
(sessionId: string) => {
162162
_setSessionId(sessionId);
163163
// update page URL without reloading
164-
window.history.replaceState({}, "", `/chat/${sessionId}`);
164+
// THIS DOES NOT WORK ANYMORE!! - NEXT JS IS MONKEY PATCHING THIS TOO
165+
// Until we find a better solution, we are just not gonna update the URL
166+
// window.history.replaceState({}, "", `/chat/${sessionId}`);
165167

166168
// if the current page is landing page, link to /chat
167169
// if current page is new /chat page, link to landing page

0 commit comments

Comments
 (0)