Remove bloat

Keep rec and res files to not remove the pages themselves
This commit is contained in:
2022-09-10 02:03:52 -04:00
parent bd1e190e6b
commit 0786698336
5 changed files with 19 additions and 15 deletions

View File

@@ -4,6 +4,8 @@ import { PostMeta } from "../util/slug";
import style from '../styles/recent-posts.module.css';
function RecentPosts({ postsMeta }: { postsMeta: PostMeta[] }) {
if (!postsMeta.length)
return <></>;
return (
<div className='block'>
<div className='h2'>Recent Posts</div>