From bdfe5a4539abadc3c0e8df957490da2a838c62a6 Mon Sep 17 00:00:00 2001 From: Emil Gulamov <125820963+mearashadowfax@users.noreply.github.com> Date: Sat, 24 Feb 2024 23:49:56 +0400 Subject: [PATCH] Remove 'bannerId' property from AnnouncementBanner The 'bannerId' property has been removed from the AnnouncementBanner component as it is unneeded. This change has been reflected in both the component definition and places where the component is used, resulting in cleaner and more maintainable code. --- src/components/ui/banners/AnnouncementBanner.astro | 6 ++---- src/pages/index.astro | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/ui/banners/AnnouncementBanner.astro b/src/components/ui/banners/AnnouncementBanner.astro index 535cfaf..b53420f 100644 --- a/src/components/ui/banners/AnnouncementBanner.astro +++ b/src/components/ui/banners/AnnouncementBanner.astro @@ -1,18 +1,16 @@ --- -const { title, bannerId, btnId, btnTitle, url } = Astro.props; +const { title, btnId, btnTitle, url } = Astro.props; interface Props { title: string; - bannerId: string; btnId: string; btnTitle: string; url: string; } --- - +
= [