"use client";

import { ExamProvider } from "@/context/ExamContext";
import { TimerProvider } from "@/context/TimerContext";
import { AuthProvider } from "@/context/AuthContext";

export function Providers({ children }: { children: React.ReactNode }) {
  return (
    <TimerProvider>
      <AuthProvider>
        <ExamProvider>{children}</ExamProvider>
      </AuthProvider>
    </TimerProvider>
  );
}
