Skip to content

Commit

Permalink
update gfm module to fix #154 (#156)
Browse files Browse the repository at this point in the history
update gfm module to fix #154
  • Loading branch information
thisisjofrank authored Nov 4, 2024
1 parent d251507 commit 589c475
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/// <reference lib="dom.asynciterable" />
/// <reference lib="deno.ns" />

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([
Expand Down Expand Up @@ -124,7 +124,7 @@ export function Index({ state, posts }: IndexProps) {
}

function PostCard(
{ post, dateFormat, lang }: {
{ post, dateFormat }: {
post: Post;
dateFormat?: DateFormat;
lang?: string;
Expand Down Expand Up @@ -232,7 +232,7 @@ export function PostPage({ post, state }: PostPageProps) {
);
}

function Footer(props: { author?: string }) {
function Footer(_props: { author?: string }) {
return (
<footer class="mt-20 pb-16 lt-sm:pb-8 lt-sm:mt-16">
<p class="flex items-center gap-2.5 text-gray-400/800 dark:text-gray-500/800 text-sm">
Expand Down
2 changes: 1 addition & 1 deletion deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export {
} from "https://deno.land/std@0.193.0/http/mod.ts";
export { extract as frontMatter } from "https://deno.land/std@0.193.0/front_matter/any.ts";

export * as gfm from "https://deno.land/x/gfm@0.2.5/mod.ts";
export * as gfm from "jsr:@deno/gfm@0.10.0";
export { Fragment, h } from "https://deno.land/x/htm@0.1.3/mod.ts";
export {
default as html,
Expand Down

0 comments on commit 589c475

Please sign in to comment.