From 2abe8d15fde5e75ae5f1bdc14557b96ed159bfd6 Mon Sep 17 00:00:00 2001
From: Ekaterina Martyshevskaia <74831191+katermart@users.noreply.github.com>
Date: Fri, 3 Feb 2023 18:54:42 +0100
Subject: [PATCH] Add environment provider container to app
---
src/App.tsx | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/src/App.tsx b/src/App.tsx
index fd81f87e2..c0b77731e 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -7,6 +7,8 @@ import CirrusFavicon from './components/common/CirrusFavicon';
import { CssBaseline } from '@mui/material';
import { useRecoilValue } from 'recoil';
import * as Sentry from '@sentry/react';
+import { RelayEnvironmentProvider } from 'react-relay';
+import environment from '../src/createRelayEnvironment';
declare module '@mui/styles/defaultTheme' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
@@ -19,14 +21,16 @@ export default function App(): JSX.Element {
const theme = React.useMemo(() => createTheme(themeOptions), [themeOptions]);
return (
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
);
}