From d8bf0e69a0a94efd13111251fa5d303faa8580b1 Mon Sep 17 00:00:00 2001 From: grassblock Date: Tue, 22 Jul 2025 10:47:22 +0800 Subject: [PATCH] fix: HTMLElement is not defined --- src/components/helper/comments/OOM.astro | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/helper/comments/OOM.astro b/src/components/helper/comments/OOM.astro index c410a64..cca1f37 100644 --- a/src/components/helper/comments/OOM.astro +++ b/src/components/helper/comments/OOM.astro @@ -1,9 +1,5 @@ --- -import Comments from "../../../assets/js/oom-comments.js"; import "../../../assets/css/oom-styles.css"; - -//Register the custom element with your desired name -customElements.define("oom-comments", Comments); const { mastodonLink, bskyLink } = Astro.props; --- No comments yet - \ No newline at end of file + + \ No newline at end of file