diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2023-07-24 08:35:11 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2023-07-24 08:35:11 +0000 |
| commit | 5be5be868124e7d4b21ab2137f45006380e3d0a1 (patch) | |
| tree | d7c4151eb2bf83b85cd0532d45dedd02aa06694e /src/pages/shop | |
| parent | bed971bc1265cd9b0e6f0c01dcb57bf4089c21f9 (diff) | |
| parent | 2de322571bad7490baaf439fa2bb12124c646bb5 (diff) | |
Merged in CR/widget_WA (pull request #17)
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> </> ) } |
