summaryrefslogtreecommitdiff
path: root/src/pages/shop/cart.jsx
diff options
context:
space:
mode:
authortrisusilo <tri.susilo@altama.co.id>2023-07-24 03:32:03 +0000
committertrisusilo <tri.susilo@altama.co.id>2023-07-24 03:32:03 +0000
commit4fcb73a336a6025a0ead194b317543efcd4f0e4b (patch)
tree20ea651ea2c02be2bae2c2915ca5ab7ff2f95538 /src/pages/shop/cart.jsx
parentd61b3ca0213395099e4cea9ace8172d4e622fb52 (diff)
parent984f1b13b408ee9652072392d6312d609b353315 (diff)
Merged in Feature/promotion_programvaoucher (pull request #15)
Feature/promotion programvaoucher
Diffstat (limited to 'src/pages/shop/cart.jsx')
-rw-r--r--src/pages/shop/cart.jsx23
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>
</>
)
}