diff --git a/src/components/Comment.astro b/src/components/Comment.astro index 56a9d1b..da5fb38 100644 --- a/src/components/Comment.astro +++ b/src/components/Comment.astro @@ -13,9 +13,6 @@ import "../styles/components/Comment.less"; updateRouter("afterMount", async () => { if (!document.querySelector(".vh-comment>section")) return; await LoadScript("https://registry.npmmirror.com/twikoo/1.6.41/files/dist/twikoo.all.min.js"); - twikoo.init({ - envId: SITE_INFO.Twikoo.envId, - el: ".vh-comment>section" - }); + twikoo.init({ envId: SITE_INFO.Twikoo.envId, el: ".vh-comment>section" }); }); diff --git a/src/components/MobileSidebar.astro b/src/components/MobileSidebar.astro index b8137da..c296aad 100644 --- a/src/components/MobileSidebar.astro +++ b/src/components/MobileSidebar.astro @@ -12,12 +12,12 @@ import "../styles/components/MobileSidebar.less";
- +