fix six app bugs
This commit is contained in:
@@ -352,11 +352,6 @@ function ChatPage() {
|
||||
if (pollRef.current) clearInterval(pollRef.current);
|
||||
setMessages([]);
|
||||
setError(null);
|
||||
setLoadingConv(true);
|
||||
await fetchConversation(convId);
|
||||
await fetchMessages(convId);
|
||||
setLoadingConv(false);
|
||||
startPolling(convId);
|
||||
router.replace(`/chat?id=${convId}`, { scroll: false });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user