Skip to content

Commit 549a38c

Browse files
committed
Fix page export
1 parent 4274644 commit 549a38c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/app/projects/[name]/page.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export async function generateMetadata({
2424
};
2525
}
2626

27-
export const ProjectPage = async ({ params }: { params: Props }) => {
27+
export default async function ProjectPage({ params }: { params: Props }) {
2828
const { name } = await params;
2929
const project = await getProjectByName(name);
3030

@@ -59,6 +59,4 @@ export const ProjectPage = async ({ params }: { params: Props }) => {
5959
</Stack>
6060
</Container>
6161
);
62-
};
63-
64-
export default ProjectPage;
62+
}

0 commit comments

Comments
 (0)