Spaces:
Running
Running
File size: 456 Bytes
66e93d1 fcd4478 f80b091 fcd4478 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import { fetchRecentProjectList } from '@/lib/fetch';
import ProjectCard from './ProjectCard';
export interface ProjectListSideBarProps {}
const ProjectListSideBar: React.FC<ProjectListSideBarProps> = async () => {
const recentProjects = await fetchRecentProjectList();
return (
<>
{recentProjects.map(project => (
<ProjectCard key={project.id} projectInfo={project} />
))}
</>
);
};
export default ProjectListSideBar;
|