We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b6387e commit d0bab8dCopy full SHA for d0bab8d
frontend/src/app/(main)/page.tsx
@@ -33,7 +33,6 @@ export default function HomePage() {
33
try {
34
const chatId = await createProjectFromPrompt(message, isPublic, model);
35
36
- console.log('Project created with ID:', chatId);
37
promptFormRef.current.clearMessage();
38
router.push(`/chat?id=${chatId}`);
39
} catch (error) {
frontend/src/components/chat/code-engine/project-context.tsx
@@ -714,9 +714,8 @@ export function ProjectProvider({ children }: { children: ReactNode }) {
714
},
715
716
});
717
- console.log('creatae a project result:', result);
718
719
- return result.data.id;
+ return result.data.createProject.id;
720
721
logger.error('Error creating project:', error);
722
if (isMounted.current) {
0 commit comments