Adding context

This commit is contained in:
Belen Curcio
2020-09-30 13:38:39 -03:00
parent 1de43d9074
commit b770f4b746
3 changed files with 59 additions and 4 deletions

View File

@@ -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>
</>
);
}