From 7265295454801c1d921385a4b67fb3780b46771e Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 14:00:00 +0700
Subject: fix

---
 src/pages/shop/checkout/finish.jsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 src/pages/shop/checkout/finish.jsx

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

diff --git a/src/pages/shop/checkout/finish.jsx b/src/pages/shop/checkout/finish.jsx
new file mode 100644
index 00000000..7a1aa05d
--- /dev/null
+++ b/src/pages/shop/checkout/finish.jsx
@@ -0,0 +1,13 @@
+import BasicLayout from "@/core/components/layouts/BasicLayout";
+import FinishCheckoutComponent from "@/lib/checkout/components/FinishCheckout";
+import { useRouter } from "next/router";
+
+export default function Finish() {
+  const router = useRouter()
+
+  return (
+    <BasicLayout>
+      <FinishCheckoutComponent id={router.query.id || 0} />
+    </BasicLayout>
+  )
+}
\ No newline at end of file
-- 
cgit v1.2.3


From ac3fdf7be9982e65d8f83a20bc487f8dd62e3bfc Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 23:36:47 +0700
Subject: fix

---
 src/pages/shop/checkout/finish.jsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 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 7a1aa05d..fb6970f6 100644
--- a/src/pages/shop/checkout/finish.jsx
+++ b/src/pages/shop/checkout/finish.jsx
@@ -1,6 +1,6 @@
-import BasicLayout from "@/core/components/layouts/BasicLayout";
-import FinishCheckoutComponent from "@/lib/checkout/components/FinishCheckout";
-import { useRouter } from "next/router";
+import BasicLayout from '@/core/components/layouts/BasicLayout'
+import FinishCheckoutComponent from '@/lib/checkout/components/FinishCheckout'
+import { useRouter } from 'next/router'
 
 export default function Finish() {
   const router = useRouter()
@@ -10,4 +10,4 @@ export default function Finish() {
       <FinishCheckoutComponent id={router.query.id || 0} />
     </BasicLayout>
   )
-}
\ No newline at end of file
+}
-- 
cgit v1.2.3


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

