Skip to content

Commit

Permalink
remove double body in b2b (#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardRieder1 committed Jul 24, 2024
1 parent 25ab903 commit 5339006
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions examples/b2b/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,6 @@ export function Layout({children}: {children?: React.ReactNode}) {
<Links />
</head>
<body>
{data ? (
<Analytics.Provider
cart={data.cart}
shop={data.shop}
consent={data.consent}
>
<B2BLocationProvider>
<PageLayout {...data}>{children}</PageLayout>
</B2BLocationProvider>
</Analytics.Provider>
) : (
children
)}
{data ? (
<Analytics.Provider
cart={data.cart}
Expand Down

0 comments on commit 5339006

Please sign in to comment.