From a8fe20a88265b26da5422649353d79d883a2de40 Mon Sep 17 00:00:00 2001 From: Lulox Date: Sat, 28 Sep 2024 20:00:55 -0300 Subject: [PATCH] Removed plus button from search page --- packages/nextjs/app/search/Search.tsx | 2 +- packages/nextjs/components/Footer.tsx | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/packages/nextjs/app/search/Search.tsx b/packages/nextjs/app/search/Search.tsx index d7434ab..c00655d 100644 --- a/packages/nextjs/app/search/Search.tsx +++ b/packages/nextjs/app/search/Search.tsx @@ -47,7 +47,7 @@ export const Search = () => { {error &&

{error}

} diff --git a/packages/nextjs/components/Footer.tsx b/packages/nextjs/components/Footer.tsx index 99af5be..1c31891 100644 --- a/packages/nextjs/components/Footer.tsx +++ b/packages/nextjs/components/Footer.tsx @@ -46,14 +46,16 @@ export const Footer = () => { return ( <> -
- -
+ {pathname !== "/search" && ( +
+ +
+ )} {isModalOpen && ( @@ -94,7 +96,7 @@ export const Footer = () => {