Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion frontend/src/app/(main)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/chat/code-engine/project-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading