'use client';

import IdeaBoard from '@/components/IdeaBoard';
import { useProjectContext } from '@/providers/ProjectProvider';

export default function IdeasPage() {
    const { project, updateProject } = useProjectContext();

    return (
        <IdeaBoard
            ideas={project.ideas || []}
            onUpdate={(ideas) => updateProject({ ideas })}
        />
    );
}
