refactor: scope providers by route and use XState selectors

This commit is contained in:
2026-07-13 19:07:53 +08:00
parent f9b5f22ee9
commit 37ae152abb
24 changed files with 512 additions and 336 deletions
+7
View File
@@ -0,0 +1,7 @@
import type { ReactNode } from "react";
import { PaymentRouteProvider } from "@/providers/payment-route-provider";
export default function TipLayout({ children }: { children: ReactNode }) {
return <PaymentRouteProvider>{children}</PaymentRouteProvider>;
}