refactor: code refactor

This commit is contained in:
Andrea
2024-09-28 13:14:55 +02:00
parent 45c6fb54a0
commit b076be8fa7
4 changed files with 9 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ export const loader = () => {
return findPosts();
};
export default function () {
export default function Blog() {
const posts = useLoaderData<typeof loader>();
return (