mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
ProductStyling
This commit is contained in:
@@ -3,9 +3,9 @@ import '@assets/tailwind.css'
|
||||
import '@assets/utils.css'
|
||||
import 'animate.css'
|
||||
import { FC } from 'react'
|
||||
|
||||
import { Head } from '@components/core'
|
||||
import type { AppProps } from 'next/app'
|
||||
|
||||
import { ManagedUIContext } from '@components/ui/context'
|
||||
import { CommerceProvider } from '@lib/bigcommerce'
|
||||
|
||||
const Noop: FC = ({ children }) => <>{children}</>
|
||||
@@ -15,10 +15,13 @@ export default function MyApp({ Component, pageProps }: AppProps) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Head />
|
||||
<CommerceProvider locale="en-us">
|
||||
<Layout>
|
||||
<Component {...pageProps} />
|
||||
</Layout>
|
||||
<ManagedUIContext>
|
||||
<Layout>
|
||||
<Component {...pageProps} />
|
||||
</Layout>
|
||||
</ManagedUIContext>
|
||||
</CommerceProvider>
|
||||
</>
|
||||
)
|
||||
|
Reference in New Issue
Block a user