From ffa261e6adef70a2845878cf93e6e492eb8cee62 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Feb 2023 10:49:45 +0700
Subject: footer

---
 src/pages/shop/checkout/finish.jsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'src/pages/shop/checkout/finish.jsx')

diff --git a/src/pages/shop/checkout/finish.jsx b/src/pages/shop/checkout/finish.jsx
index fb6970f6..cc64199f 100644
--- a/src/pages/shop/checkout/finish.jsx
+++ b/src/pages/shop/checkout/finish.jsx
@@ -1,4 +1,5 @@
 import BasicLayout from '@/core/components/layouts/BasicLayout'
+import IsAuth from '@/lib/auth/components/IsAuth'
 import FinishCheckoutComponent from '@/lib/checkout/components/FinishCheckout'
 import { useRouter } from 'next/router'
 
@@ -6,8 +7,10 @@ export default function Finish() {
   const router = useRouter()
 
   return (
-    <BasicLayout>
-      <FinishCheckoutComponent id={router.query.id || 0} />
-    </BasicLayout>
+    <IsAuth>
+      <BasicLayout>
+        <FinishCheckoutComponent id={router.query.id || 0} />
+      </BasicLayout>
+    </IsAuth>
   )
 }
-- 
cgit v1.2.3

