diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-12 16:10:01 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-12 16:10:01 +0100 |
commit | a4c0d88cf6d2137f61fc6005ad2c6339c7f3c9d8 (patch) | |
tree | cdc60c55319a9de01cac59cd7a66576f8f7db619 /pages/_app.tsx | |
parent | a69b5df8beddb4a9b492e29ba32747c368666239 (diff) |
toast context working
Diffstat (limited to 'pages/_app.tsx')
-rw-r--r-- | pages/_app.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx index 3c238b9..651d05d 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,5 +1,6 @@ import Head from 'next/head'; import { PreferencesContextWrapper } from '../components/preferencesContext'; +import { ToastContextWrapper } from '../components/toast'; import '../styles/global.css'; import '../styles/dark.css'; @@ -12,7 +13,9 @@ export default function VierOpEenRijWebsite({ Component, pageProps }) { <link rel="stylesheet" href="/font/stylesheet.css"/> </Head> <PreferencesContextWrapper> - <Component {...pageProps}/> + <ToastContextWrapper> + <Component {...pageProps}/> + </ToastContextWrapper> </PreferencesContextWrapper> </div> } |