Skip to content

Commit

Permalink
chore(edit): simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindgrutle committed Jun 25, 2024
1 parent bb99880 commit f432543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions next-tavla/src/Shared/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f432543

Please sign in to comment.