From 5c2270bfad30139c8a9e5f8d1b1c9483384d99c4 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Thu, 1 Aug 2024 22:26:27 -0400 Subject: [PATCH] remove unnused functions. --- src/templates/components/PostList.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/templates/components/PostList.tsx b/src/templates/components/PostList.tsx index 38a7b64..47ccb26 100644 --- a/src/templates/components/PostList.tsx +++ b/src/templates/components/PostList.tsx @@ -1,9 +1,5 @@ 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[] }) { return(