1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-29 03:59:54 +02:00

fix: roadmap chat url

This commit is contained in:
Arik Chakma
2025-08-12 18:38:45 +06:00
committed by Kamran Ahmed
parent 07b85c032a
commit 4fcff0c593
2 changed files with 2 additions and 2 deletions

View File

@@ -351,7 +351,7 @@ export function RoadmapFloatingChat(props: RoadmapChatProps) {
const isStreamingMessage = status !== 'ready'; const isStreamingMessage = status !== 'ready';
const hasMessages = messages.length > 0; const hasMessages = messages.length > 0;
const newTabUrl = `/ai/r/${roadmapId}${activeChatHistoryId ? `?chatId=${activeChatHistoryId}` : ''}`; const newTabUrl = `/ai/roadmap-chat/${roadmapId}${activeChatHistoryId ? `?chatId=${activeChatHistoryId}` : ''}`;
return ( return (
<> <>

View File

@@ -156,7 +156,7 @@ const hasProjects = projectCount > 0;
)} )}
{hasAIChat && ( {hasAIChat && (
<TabLink <TabLink
url={`/${roadmapId}/ai`} url={`/ai/roadmap-chat/${roadmapId}`}
icon={Bot} icon={Bot}
text='AI Tutor' text='AI Tutor'
mobileText='AI' mobileText='AI'