Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: removed unnecessary breakpoint condition from nav template
Browse files Browse the repository at this point in the history
  • Loading branch information
hasan-deriv committed Oct 5, 2023
1 parent 7bb08f0 commit 236cd1f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/features/components/templates/navigation/template/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,10 @@ const NavTemplate = ({

{has_items ? (
<>
{is_mobile_or_tablet ? (
<span ref={nav_wrapper_ref}>
<MobileMenu has_top_nav={has_top_nav} />
</span>
) : (
<DesktopMenu has_centered_items={has_centered_items} />
)}
<span ref={nav_wrapper_ref}>
<MobileMenu has_top_nav={has_top_nav} />
</span>
<DesktopMenu has_centered_items={has_centered_items} />
</>
) : null}
{children}
Expand Down

0 comments on commit 236cd1f

Please sign in to comment.