aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/layout/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/layout/index.tsx')
-rw-r--r--webui/src/layout/index.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/webui/src/layout/index.tsx b/webui/src/layout/index.tsx
index 78ff5ae8..42a0cfc1 100644
--- a/webui/src/layout/index.tsx
+++ b/webui/src/layout/index.tsx
@@ -2,18 +2,16 @@ import React from 'react';
import CssBaseline from '@material-ui/core/CssBaseline';
-import { useCurrentIdentityQuery } from './CurrentIdentity.generated';
-import CurrentIdentityContext from './CurrentIdentityContext';
import Header from './Header';
type Props = { children: React.ReactNode };
function Layout({ children }: Props) {
return (
- <CurrentIdentityContext.Provider value={useCurrentIdentityQuery()}>
+ <>
<CssBaseline />
<Header />
{children}
- </CurrentIdentityContext.Provider>
+ </>
);
}