From 0a93f8a5c75c23048d6d65e0a4abd1e512ce3146 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 12 Feb 2025 10:23:55 -0800 Subject: [PATCH] wrap application in wallet provider --- Client/src/App.jsx | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/Client/src/App.jsx b/Client/src/App.jsx index 05822a5f5..04dfeeb4f 100644 --- a/Client/src/App.jsx +++ b/Client/src/App.jsx @@ -11,6 +11,7 @@ import { getAppSettings } from "./Features/Settings/settingsSlice"; import { logger } from "./Utils/Logger"; // Import the logger import { networkService } from "./main"; import { Routes } from "./Routes"; +import WalletProvider from "./Components/WalletProvider"; function App() { const mode = useSelector((state) => state.ui.mode); @@ -34,19 +35,21 @@ function App() { return ( /* Extract Themeprovider, baseline and global styles to Styles */ - - { - return { - body: { - backgroundImage: `radial-gradient(circle, ${palette.gradient.color1}, ${palette.gradient.color2}, ${palette.gradient.color3}, ${palette.gradient.color4}, ${palette.gradient.color5})`, - color: palette.primary.contrastText, - }, - }; - }} - /> - - + + + { + return { + body: { + backgroundImage: `radial-gradient(circle, ${palette.gradient.color1}, ${palette.gradient.color2}, ${palette.gradient.color3}, ${palette.gradient.color4}, ${palette.gradient.color5})`, + color: palette.primary.contrastText, + }, + }; + }} + /> + + + ); }