Skip to content

Commit

Permalink
⚡️ :: (#118) Modal Provider 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kimulchan committed May 31, 2022
1 parent 1a46b4d commit 1816d51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import StyleProvider from "@src/styles";
import { ToastContainer } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
import Header from "@src/components/common/header";
import { ModalsProvider } from "@src/contexts/ModalContext";
import Modals from "@src/components/modals";

function MyApp({ Component, pageProps }: AppProps) {
return (
Expand All @@ -19,8 +21,10 @@ function MyApp({ Component, pageProps }: AppProps) {
StyleProvider,
LoginContextProvider,
ParticipantOptionContextProvider,
ModalsProvider,
]}
>
<Modals></Modals>
<Header></Header>
<Component {...pageProps} />
<ToastContainer theme='colored' />
Expand Down

0 comments on commit 1816d51

Please sign in to comment.