diff --git a/frontend/src/components/chat/code-engine/project-context.tsx b/frontend/src/components/chat/code-engine/project-context.tsx index 78dbdd16..0aa394e3 100644 --- a/frontend/src/components/chat/code-engine/project-context.tsx +++ b/frontend/src/components/chat/code-engine/project-context.tsx @@ -113,7 +113,7 @@ export function ProjectProvider({ children }: { children: ReactNode }) { // Navigate to chat page after project creation if (data?.createProject?.id) { toast.success('Project created successfully!'); - router.push(`/chat/${data.createProject.id}`); + router.push(`/chat?id=${data.createProject.id}`); } }, onError: (error) => {