'use client';

import { useRouter } from 'next/navigation';
import CheckoutCancel from '../../../src/old-pages/CheckoutCancel';

export default function CheckoutCancelPage() {
  const router = useRouter();

  const handleNavigateHome = () => {
    router.push('/');
  };

  const handleNavigateCalculator = () => {
    router.push('/calculator');
  };

  return (
    <CheckoutCancel
      onNavigateHome={handleNavigateHome}
      onNavigateCalculator={handleNavigateCalculator}
    />
  );
}
