From 1755fb8baaec886bca8af5196a774476825ed9b1 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Thu, 20 Jul 2023 16:49:19 +0300 Subject: [PATCH] Fix Prettier workflow --- src/components/banners/NearconBanner.tsx | 41 +++++++++++++----------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/src/components/banners/NearconBanner.tsx b/src/components/banners/NearconBanner.tsx index 22b553a3d..1f7fcfaa2 100644 --- a/src/components/banners/NearconBanner.tsx +++ b/src/components/banners/NearconBanner.tsx @@ -81,39 +81,42 @@ const Text = styled.p` `; export const NearconBanner = () => { - const [ isBannerVisible, setBanners ] = useBanner(); + const [isBannerVisible, setBanners] = useBanner(); const closeBanner = () => { setBanners(!isBannerVisible); - } + }; if (!isBannerVisible) return null; return ( - nearcon-banner - Early Bird Tickets are live! - -