diff options
Diffstat (limited to 'src/pages/shop/checkout/finish.jsx')
| -rw-r--r-- | src/pages/shop/checkout/finish.jsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/pages/shop/checkout/finish.jsx b/src/pages/shop/checkout/finish.jsx new file mode 100644 index 00000000..cc64199f --- /dev/null +++ b/src/pages/shop/checkout/finish.jsx @@ -0,0 +1,16 @@ +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' + +export default function Finish() { + const router = useRouter() + + return ( + <IsAuth> + <BasicLayout> + <FinishCheckoutComponent id={router.query.id || 0} /> + </BasicLayout> + </IsAuth> + ) +} |
