From d9f43224096d915891221e4692c7f2eda8fb425a Mon Sep 17 00:00:00 2001 From: PJColombo Date: Fri, 8 Nov 2024 14:03:29 +0100 Subject: [PATCH 1/2] fix(web): remove gitcoin banner --- .../src/components/AppLayout/AppLayout.tsx | 4 -- apps/web/src/components/GitcoinBanner.tsx | 64 ------------------- 2 files changed, 68 deletions(-) delete mode 100644 apps/web/src/components/GitcoinBanner.tsx diff --git a/apps/web/src/components/AppLayout/AppLayout.tsx b/apps/web/src/components/AppLayout/AppLayout.tsx index c546a66ca..a9c64e51b 100644 --- a/apps/web/src/components/AppLayout/AppLayout.tsx +++ b/apps/web/src/components/AppLayout/AppLayout.tsx @@ -1,8 +1,6 @@ -import { useState } from "react"; import cn from "classnames"; import { useIsHomepage } from "~/hooks/useIsHomePage"; -import GitcoinBanner from "../GitcoinBanner"; import { BottomBarLayout } from "./BottomBarLayout"; import { TopBarLayout } from "./TopBarLayout"; @@ -13,11 +11,9 @@ interface LayoutProps { const AppLayout = ({ children }: LayoutProps) => { const isHomepage = useIsHomepage(); - const [showBanner, setShowBanner] = useState(true); return (
- {showBanner && setShowBanner(false)} />}
void }) { - return ( -
-