From 1b4b859e8785b947b8de9ce1338e77ea0f83eabb Mon Sep 17 00:00:00 2001 From: saicaca Date: Fri, 17 Jan 2025 03:55:30 +0800 Subject: [PATCH] fix: remove obsolete astro:after-swap listener which can be triggered in Astro 5.0 even with Swup, causing duplicate initialization --- src/components/Navbar.astro | 5 ----- src/layouts/Layout.astro | 4 ---- 2 files changed, 9 deletions(-) diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 0e7a4b7..6618a59 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -61,7 +61,6 @@ let links: NavBarLink[] = navBarConfig.links.map( {import.meta.env.PROD &&