Remove bloat
Keep rec and res files to not remove the pages themselves
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user