From 376b37aa389863794067de0c7d98ec16ede5df91 Mon Sep 17 00:00:00 2001 From: Jo Franchetti Date: Mon, 4 Nov 2024 17:10:33 +0000 Subject: [PATCH] lint --- components.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 (