From f4325436845d3cda422a89e43f040411211c8569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Grutle?= Date: Tue, 25 Jun 2024 10:21:54 +0200 Subject: [PATCH] chore(edit): simplify --- next-tavla/src/Shared/components/Footer/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/next-tavla/src/Shared/components/Footer/index.tsx b/next-tavla/src/Shared/components/Footer/index.tsx index d5909f1cf..3e0c76e10 100644 --- a/next-tavla/src/Shared/components/Footer/index.tsx +++ b/next-tavla/src/Shared/components/Footer/index.tsx @@ -14,8 +14,9 @@ function Footer({ orgFooter?: string }) { if ( - (!logo && !board.footer?.footer && board.footer?.override) || - (!logo && !orgFooter && !board.footer?.footer) + !logo && + ((!board.footer?.footer && board.footer?.override) || + (!orgFooter && !board.footer?.footer)) ) return null