diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-07-24 15:33:17 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-07-24 15:33:17 +0700 |
| commit | 2de322571bad7490baaf439fa2bb12124c646bb5 (patch) | |
| tree | d7c4151eb2bf83b85cd0532d45dedd02aa06694e /src/pages/shop | |
| parent | 8b8ab7680be37e84d0dc6cc1683fe4996f7cc8c1 (diff) | |
| parent | d4f3cce1b07c5d4f75892ffc49c8dbbbbb58922f (diff) | |
Merge branch 'master' into CR/widget_WA
Diffstat (limited to 'src/pages/shop')
| -rw-r--r-- | src/pages/shop/cart.jsx | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/pages/shop/cart.jsx b/src/pages/shop/cart.jsx index e574f14d..a7f2037b 100644 --- a/src/pages/shop/cart.jsx +++ b/src/pages/shop/cart.jsx @@ -2,6 +2,7 @@ import Seo from '@/core/components/Seo' import BasicLayout from '@/core/components/layouts/BasicLayout' import DesktopView from '@/core/components/views/DesktopView' import MobileView from '@/core/components/views/MobileView' +import IsAuth from '@/lib/auth/components/IsAuth' import dynamic from 'next/dynamic' const AppLayout = dynamic(() => import('@/core/components/layouts/AppLayout')) @@ -12,17 +13,19 @@ export default function Cart() { <> <Seo title='Keranjang Belanja Indoteknik.com' /> - <MobileView> - <AppLayout title='Keranjang' withFooter={false}> - <CartComponent /> - </AppLayout> - </MobileView> + <IsAuth> + <MobileView> + <AppLayout title='Keranjang' withFooter={false}> + <CartComponent /> + </AppLayout> + </MobileView> - <DesktopView> - <BasicLayout> - <CartComponent /> - </BasicLayout> - </DesktopView> + <DesktopView> + <BasicLayout> + <CartComponent /> + </BasicLayout> + </DesktopView> + </IsAuth> </> ) } |
