"use client";

import type { ReactNode } from "react";

import { PaymentProvider } from "@/stores/payment";
import { PaymentSuccessSync } from "@/stores/sync";

export function PaymentRouteProvider({ children }: { children: ReactNode }) {
  return (
    <PaymentProvider>
      <PaymentSuccessSync />
      {children}
    </PaymentProvider>
  );
}
