From 9254211a690206251146fe3f4ae4f8fb9817b4fe Mon Sep 17 00:00:00 2001 From: Alvin Wanjala <40637276+alvyynm@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:10:30 +0300 Subject: [PATCH] fix: Link to event URL in single event view (#252) * fix: add event URL to events * fix: linting error --- .../eventsPreview/SingleEvents/sections/Hero.jsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/pages/community/sections/eventsPreview/SingleEvents/sections/Hero.jsx b/src/pages/community/sections/eventsPreview/SingleEvents/sections/Hero.jsx index aba2e228..45622b51 100644 --- a/src/pages/community/sections/eventsPreview/SingleEvents/sections/Hero.jsx +++ b/src/pages/community/sections/eventsPreview/SingleEvents/sections/Hero.jsx @@ -12,6 +12,7 @@ function Hero({ event }) { const [isOpen, setIsOpen] = useState(false); + // eslint-disable-next-line no-unused-vars function openModal() { setIsOpen(true); } @@ -180,17 +181,19 @@ ${isVirtual ? "text-white" : "text-green-header"} - + Reserve Tickets +