'use client';

import { useSocketNotifications } from '@/lib/hooks/use-socket-notifications';

/**
 * Provider component that initializes the Socket.IO connection
 * for real-time notifications. Must be rendered inside AuthProvider.
 */
export function NotificationsProvider({
  children,
}: {
  children: React.ReactNode;
}) {
  useSocketNotifications();
  return <>{children}</>;
}
