fix: small issue

This commit is contained in:
robin committed 2026-08-26 14:46:22 +02:00
1 parent 9610884703
commit ee6169d948
1 file changed
+5 -6
+5 -6
View File
@@ -5,14 +5,13 @@ export default async function WikiIndexPage() {
const allPages = await getAllWikiPages(); const allPages = await getAllWikiPages();
return ( return (
<Article title="Wiki"> <Article title="Wiki">
{allPages.map(({ title, path }) => ( <div className="flex flex-col gap-2">
<> {allPages.map(({ title, path }) => (
<a key={path} href={`/wiki/${path}`}> <a key={path} href={`/wiki/${path}`} className="hover:underline">
{title} {title}
</a> </a>
<br /> ))}
</> </div>
))}
</Article> </Article>
); );
} }