diff --git a/components.tsx b/components.tsx index d2c02ed..b62879b 100644 --- a/components.tsx +++ b/components.tsx @@ -7,7 +7,7 @@ /// /// -import { Fragment, gfm, h } from "./deps.ts"; +import { gfm, h } from "./deps.ts"; import type { BlogState, DateFormat, Post } from "./types.d.ts"; const socialAppIcons = new Map([ @@ -124,10 +124,9 @@ export function Index({ state, posts }: IndexProps) { } function PostCard( - { post, dateFormat, lang }: { + { post, dateFormat }: { post: Post; dateFormat?: DateFormat; - lang?: string; }, ) { return ( @@ -232,7 +231,7 @@ export function PostPage({ post, state }: PostPageProps) { ); } -function Footer(props: { author?: string }) { +function Footer() { return (