Spaces:
Running
Running
File size: 360 Bytes
c10f8f8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import { getProjects } from "@/app/actions/projects";
import { MyProjects } from "@/components/my-projects";
import { NotLogged } from "@/components/not-logged/not-logged";
export default async function ProjectsPage() {
const { ok, projects } = await getProjects();
if (!ok) {
return <NotLogged />;
}
return <MyProjects projects={projects} />;
}
|