From 541eef0ddd4d07a8ee9f5af7f40cb017fc1c00f5 Mon Sep 17 00:00:00 2001 From: Alex <92830192+EtoKruto@users.noreply.github.com> Date: Sun, 24 Mar 2024 15:47:15 -0700 Subject: [PATCH] added global context and started example with Banner (#387) * added global context and started example with Banner * ran npm i * fixing pr checks --------- Co-authored-by: Dennis Wang <88702296+unsolvedanomaly@users.noreply.github.com> Co-authored-by: denniswangcodes --- client/src/App.tsx | 60 +- .../src/providers/MarketingTextProvider.tsx | 35 + client/src/providers/index.ts | 2 + server/package-lock.json | 864 +++++++++--------- 4 files changed, 517 insertions(+), 444 deletions(-) create mode 100644 client/src/providers/MarketingTextProvider.tsx diff --git a/client/src/App.tsx b/client/src/App.tsx index 2586cddb..04000fec 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -10,13 +10,15 @@ import ErrorBoundary from './components/ErrorBoundary/ErrorBoundary'; import GeneralError from './components/ErrorBoundary/GeneralError'; import NotFound from './components/ErrorBoundary/NotFoundError'; +import { MarketingTextProvider } from './providers/MarketingTextProvider'; + import { UserProvider } from './providers'; -import { ModalProvider } from './providers/ModalProvider'; +import { ModalProvider } from './providers'; +import { SettingsProvider } from './providers'; import { QueryClient, QueryClientProvider } from 'react-query'; import { ReactQueryDevtools } from 'react-query/devtools'; import './App.css'; -import { SettingsProvider } from './providers/SettingsProvider'; const queryClient = new QueryClient(); @@ -27,33 +29,35 @@ function App(): JSX.Element { - - - - { - // intentionally left empty callback to block the default browser prompt. - }} - > - + + + + { + // intentionally left empty callback to block the default browser prompt. + }} > -
- -
- -