From 2f4533feb2aa9ba4eeb11d0cc088adf736a2aab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Ram=C3=ADrez?= Date: Fri, 9 May 2025 12:31:03 -0300 Subject: [PATCH] chore: remove banner from cashout --- src/components/Global/Banner/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Global/Banner/index.tsx b/src/components/Global/Banner/index.tsx index 1e38057dc..29247c276 100644 --- a/src/components/Global/Banner/index.tsx +++ b/src/components/Global/Banner/index.tsx @@ -1,6 +1,9 @@ import { GenericBanner } from './GenericBanner' +import { usePathname } from 'next/navigation' export function Banner() { + const pathname = usePathname() + if (pathname === '/cashout') return null return (