Add guest cart drawer, Continue handoff, and shared customer login.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
ad05241a77
commit
16340c3b48
@@ -0,0 +1,18 @@
|
||||
"use client";
|
||||
|
||||
import { CartProvider } from "@/lib/cart";
|
||||
import { SessionProvider } from "@/lib/session";
|
||||
|
||||
export function AppProviders({
|
||||
children,
|
||||
businessId,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
businessId: string;
|
||||
}) {
|
||||
return (
|
||||
<SessionProvider businessId={businessId}>
|
||||
<CartProvider>{children}</CartProvider>
|
||||
</SessionProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user