summaryrefslogtreecommitdiff
path: root/src/pages/shop/checkout/finish.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/shop/checkout/finish.jsx')
-rw-r--r--src/pages/shop/checkout/finish.jsx9
1 files changed, 6 insertions, 3 deletions
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>
)
}