From b97e129233486a0bf3d305df8d9fd52b9b964630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sun, 22 May 2022 22:19:39 +0400 Subject: [PATCH] Add ParolesListContextProvider to _app --- pages/_app.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pages/_app.js b/pages/_app.js index 2c097c6..a979f3c 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -8,6 +8,7 @@ import {CacheProvider} from '@emotion/react' import {grey, green, red} from '@mui/material/colors' import NProgress from 'nprogress' import createEmotionCache from '../lib/create-emotion-cache' +import {ParolesListContextProvider} from '../contexts/paroles-list' import '@fontsource/roboto/300.css' import '@fontsource/roboto/400.css' @@ -103,14 +104,16 @@ export default function MyApp(props) { - - - {Component.auth ? ( - - ) : ( - - )} - + + + + {Component.auth ? ( + + ) : ( + + )} + + )