From 589c4750d001ae2a4e921385be558d97060e3933 Mon Sep 17 00:00:00 2001 From: Jo Franchetti Date: Mon, 4 Nov 2024 17:21:58 +0000 Subject: [PATCH] update gfm module to fix #154 (#156) update gfm module to fix #154 --- components.tsx | 6 +++--- deps.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components.tsx b/components.tsx index d2c02ed..e75b180 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,7 +124,7 @@ export function Index({ state, posts }: IndexProps) { } function PostCard( - { post, dateFormat, lang }: { + { post, dateFormat }: { post: Post; dateFormat?: DateFormat; lang?: string; @@ -232,7 +232,7 @@ export function PostPage({ post, state }: PostPageProps) { ); } -function Footer(props: { author?: string }) { +function Footer(_props: { author?: string }) { return (