diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-12-24 08:51:37 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-12-24 08:51:37 +0700 |
| commit | 22bf497d3fd524a95982e090f2c8a1be6bde656b (patch) | |
| tree | 1c394154c78ea81e06b302eeffcb9dfb14497144 /src/core/components/elements/Navbar/Navbar.jsx | |
| parent | b2afb5c847c9983b098a3223fbcfdb666e65c8cb (diff) | |
| parent | d76f96c44f85e7e0efbd544e6b97bd80920b0039 (diff) | |
Merge branch 'new-release' into Feature/switch-account
# Conflicts:
# src-migrate/modules/register/components/FormBisnis.tsx
# src/lib/auth/components/Menu.jsx
Diffstat (limited to 'src/core/components/elements/Navbar/Navbar.jsx')
| -rw-r--r-- | src/core/components/elements/Navbar/Navbar.jsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/components/elements/Navbar/Navbar.jsx b/src/core/components/elements/Navbar/Navbar.jsx index 57904498..59f743a2 100644 --- a/src/core/components/elements/Navbar/Navbar.jsx +++ b/src/core/components/elements/Navbar/Navbar.jsx @@ -3,10 +3,12 @@ import dynamic from 'next/dynamic' const NavbarDesktop = dynamic(() => import('./NavbarDesktop')) const NavbarMobile = dynamic(() => import('./NavbarMobile')) -const Navbar = () => { +const Navbar = ({isMobile} ) => { + + if(isMobile) return <NavbarMobile /> + return ( <> - <NavbarMobile /> <NavbarDesktop /> </> ) |
