import type React from "react";
import { OnboardProviderContext } from "@/hooks/useOnboard";
import { OnboardSessionService } from "@/services/onboard";

type OnboardProviderProps = {
	children: React.ReactNode;
};

export function OnboardProvider({ children, ...props }: OnboardProviderProps) {
	return (
		<OnboardProviderContext {...props} value={new OnboardSessionService()}>
			{children}
		</OnboardProviderContext>
	);
}
