From 18d3b8d2ff27b22100bf0c4eacf3a7c86f3565f9 Mon Sep 17 00:00:00 2001 From: Clement Date: Mon, 20 May 2024 17:14:34 +0200 Subject: [PATCH] fix: use button properly --- front/src/components/ui/Button.astro | 2 -- front/src/components/widgets/Header.astro | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/front/src/components/ui/Button.astro b/front/src/components/ui/Button.astro index 4306395..761e73b 100644 --- a/front/src/components/ui/Button.astro +++ b/front/src/components/ui/Button.astro @@ -6,7 +6,6 @@ import type { CallToAction as Props } from 'types'; const { variant = 'secondary', target, - link, text = Astro.slots.render('default'), icon = '', class: className = '', @@ -32,7 +31,6 @@ const variants = { diff --git a/front/src/components/widgets/Header.astro b/front/src/components/widgets/Header.astro index bb2cff8..01ed7a4 100644 --- a/front/src/components/widgets/Header.astro +++ b/front/src/components/widgets/Header.astro @@ -154,16 +154,16 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}` { !connected && ( - - )} { connected && ( - )}