// app/order-confirmation/page.js
"use client";
import { Suspense } from "react";
import OrderConfirmationContent from "./OrderConfirmationContent";

export default function OrderConfirmation() {
	return (
		<Suspense
			fallback={
				<div className='min-h-screen flex items-center justify-center'>
					<div className='text-center'>
						<div className='animate-spin rounded-full h-12 w-12 border-b-2 border-blue-500 mx-auto'></div>
						<p className='mt-4'>Se încarcă...</p>
					</div>
				</div>
			}>
			<OrderConfirmationContent />
		</Suspense>
	);
}
