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