remove unnused functions.

This commit is contained in:
Dave Smith-Hayes 2024-08-01 22:26:27 -04:00
parent 193246c36d
commit 5c2270bfad

View File

@ -1,9 +1,5 @@
import type { PostMeta } from '@blog/models/PostMeta'; import type { PostMeta } from '@blog/models/PostMeta';
function formatDate(date: Date): string {
return `${date.getFullYear()}-${date.getMonth()}-${date.getDay()}`;
}
export function PostList({ posts }: { posts: PostMeta[] }) { export function PostList({ posts }: { posts: PostMeta[] }) {
return( return(
<ul> <ul>