From 118112f0b747ca7d86310db81e8620b811eb0f57 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 10 Jun 2025 20:09:34 +0000 Subject: refactor: simplify Analytics component and update BaseLayout - Removed props from the Analytics component to streamline its usage. - Updated BaseLayout to call Analytics without passing the title prop, ensuring default values are used. --- src/components/Analytics.astro | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/components') diff --git a/src/components/Analytics.astro b/src/components/Analytics.astro index 428ad4f..8235dea 100644 --- a/src/components/Analytics.astro +++ b/src/components/Analytics.astro @@ -1,17 +1,2 @@ ---- -type Props = { - readonly title: string; -}; - -const path = Astro.url.pathname; -const { title } = Astro.props; ---- - - - - - -- cgit v1.2.3