import React, { lazy, Suspense } from 'react';
import { ErrorBoundary } from '@/components/common/ErrorBoundary';

const CloudCTA = lazy(() => import('./CloudCTA'));

const CloudCTAWrapper = () => (
  <ErrorBoundary>
    <Suspense fallback={<div className="min-h-[400px] bg-white" />}>
      <CloudCTA />
    </Suspense>
  </ErrorBoundary>
);

export default CloudCTAWrapper;
