remove unnused functions.
This commit is contained in:
parent
193246c36d
commit
5c2270bfad
@ -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(
|
||||
<ul>
|
||||
|
Loading…
Reference in New Issue
Block a user