From b40a9adafd56748dfac0ed0c3a8c80c3a313a8e8 Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Fri, 7 Feb 2025 17:54:51 +0800 Subject: [PATCH] fix: build error --- src/components/blog/Masthead.astro | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/blog/Masthead.astro b/src/components/blog/Masthead.astro index 2520527..a757f29 100644 --- a/src/components/blog/Masthead.astro +++ b/src/components/blog/Masthead.astro @@ -1,5 +1,4 @@ --- -import { Image } from "astro:assets"; import type { CollectionEntry } from "astro:content"; import FormattedDate from "@/components/FormattedDate.astro"; import Card from "../componentsBefore/Card.astro"; @@ -27,14 +26,13 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url { socialImageURL && ( -
- + {socialImageURL}
)