"use client";

import React from 'react';
import { Toaster } from 'react-hot-toast';
import { UserProvider } from './UserProvider';
import AnalyticsTracker from './AnalyticsTracker';
import CookieBanner from './CookieBanner';

export function Providers({ children }: { children: React.ReactNode }) {
    return (
        <UserProvider>
            <Toaster position="top-right" />
            <AnalyticsTracker />
            {children}
            <CookieBanner />
        </UserProvider>
    );
}