diff --git a/frontend/src/app/(main)/page.tsx b/frontend/src/app/(main)/page.tsx index befe02a2..60f91e01 100644 --- a/frontend/src/app/(main)/page.tsx +++ b/frontend/src/app/(main)/page.tsx @@ -33,7 +33,6 @@ export default function HomePage() { try { const chatId = await createProjectFromPrompt(message, isPublic, model); - console.log('Project created with ID:', chatId); promptFormRef.current.clearMessage(); router.push(`/chat?id=${chatId}`); } catch (error) { diff --git a/frontend/src/components/chat/code-engine/project-context.tsx b/frontend/src/components/chat/code-engine/project-context.tsx index 869065fd..dbc6d25e 100644 --- a/frontend/src/components/chat/code-engine/project-context.tsx +++ b/frontend/src/components/chat/code-engine/project-context.tsx @@ -714,9 +714,8 @@ export function ProjectProvider({ children }: { children: ReactNode }) { }, }, }); - console.log('creatae a project result:', result); - return result.data.id; + return result.data.createProject.id; } catch (error) { logger.error('Error creating project:', error); if (isMounted.current) {