mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Moved UIProvider to the layout
This commit is contained in:
@@ -1,13 +1,6 @@
|
||||
import type { AppProps } from 'next/app'
|
||||
import '@assets/global.css'
|
||||
import React from 'react'
|
||||
import { UIProvider } from '@components/ui/context'
|
||||
|
||||
export default function MyApp({ Component, pageProps }) {
|
||||
return (
|
||||
<>
|
||||
<UIProvider>
|
||||
<Component {...pageProps} />
|
||||
</UIProvider>
|
||||
</>
|
||||
)
|
||||
export default function MyApp({ Component, pageProps }: AppProps) {
|
||||
return <Component {...pageProps} />
|
||||
}
|
||||
|
Reference in New Issue
Block a user