import { AuthProvider } from "@/contexts/auth-context"
import MantineProvider from "@/lib/mantine/mantine-provider"
import { Toaster } from "sonner"

const Providers = ({ children }: { children: React.ReactNode }) => {
  return (
    <AuthProvider>
      <MantineProvider>
        <Toaster position='top-center' />
        {children}
      </MantineProvider>
    </AuthProvider>
  )
}

export default Providers;
