From a4c0d88cf6d2137f61fc6005ad2c6339c7f3c9d8 Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Fri, 12 Mar 2021 16:10:01 +0100
Subject: toast context working

---
 pages/_app.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'pages/_app.tsx')

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>
 }
-- 
cgit v1.2.3

