fix: roadmap chat url
This commit is contained in:
1 parent
07b85c032a
commit
4fcff0c593
2 files changed
+2
-2
No files matched your search
@@ -351,7 +351,7 @@ export function RoadmapFloatingChat(props: RoadmapChatProps) {
|
||||
|
||||
const isStreamingMessage = status !== 'ready';
|
||||
const hasMessages = messages.length > 0;
|
||||
const newTabUrl = `/ai/r/${roadmapId}${activeChatHistoryId ? `?chatId=${activeChatHistoryId}` : ''}`;
|
||||
const newTabUrl = `/ai/roadmap-chat/${roadmapId}${activeChatHistoryId ? `?chatId=${activeChatHistoryId}` : ''}`;
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -156,7 +156,7 @@ const hasProjects = projectCount > 0;
|
||||
)}
|
||||
{hasAIChat && (
|
||||
<TabLink
|
||||
url={`/${roadmapId}/ai`}
|
||||
url={`/ai/roadmap-chat/${roadmapId}`}
|
||||
icon={Bot}
|
||||
text='AI Tutor'
|
||||
mobileText='AI'
|
||||
|
||||
Reference in new issue
Block a user