/**
 * ComparisonProvider
 * Provides comparison state to all components
 */

'use client';

import { useComparison } from '@/hooks/useComparison';
import { ComparisonContext } from './ComparisonContext';

export function ComparisonProvider({ children }: { children: React.ReactNode }) {
  const comparisonState = useComparison();

  return (
    <ComparisonContext.Provider value={comparisonState}>
      {children}
    </ComparisonContext.Provider>
  );
}
