From e3c2e0ebb8151d772bae615021f40f2ef2f0ea0a Mon Sep 17 00:00:00 2001 From: heyhiru Date: Sat, 11 Nov 2023 15:53:51 +0530 Subject: [PATCH] wrapped body with sockerprovider Signed-off-by: heyhiru --- client/src/pages/_app.js | 6 +++++- client/src/pages/index.js | 4 +--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/client/src/pages/_app.js b/client/src/pages/_app.js index 2300201..6e30321 100644 --- a/client/src/pages/_app.js +++ b/client/src/pages/_app.js @@ -1,5 +1,9 @@ +import SocketProvider from '@/context/SocketProvider' import '@/styles/globals.css' export default function App({ Component, pageProps }) { - return + return ( + + + ) } diff --git a/client/src/pages/index.js b/client/src/pages/index.js index c11f5db..d0594ab 100644 --- a/client/src/pages/index.js +++ b/client/src/pages/index.js @@ -3,8 +3,6 @@ import SocketProvider from '@/context/SocketProvider'; export default function Home() { return ( - - - + ) }