'use client';

import { HeroUIProvider } from '@heroui/react';
import { LanguageProvider } from '@/contexts/LanguageContext';
import { ThemeProvider } from '@/contexts/ThemeContext';
import TransitionWrapper from './TransitionWrapper';
import { ReactNode } from 'react';

export default function Providers({ children }: { children: ReactNode }) {
  return (
    <HeroUIProvider>
      <ThemeProvider>
        <LanguageProvider>
          <TransitionWrapper>
            {children}
          </TransitionWrapper>
        </LanguageProvider>
      </ThemeProvider>
    </HeroUIProvider>
  );
}
