aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/pages')
-rw-r--r--webui/src/pages/identity/Identity.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/webui/src/pages/identity/Identity.tsx b/webui/src/pages/identity/Identity.tsx
new file mode 100644
index 00000000..d936068b
--- /dev/null
+++ b/webui/src/pages/identity/Identity.tsx
@@ -0,0 +1,17 @@
+import React from 'react';
+
+import { makeStyles } from '@material-ui/core/styles';
+
+import { useCurrentIdentityQuery } from '../../components/CurrentIdentity/CurrentIdentity.generated';
+
+const useStyles = makeStyles((theme) => ({}));
+
+const Identity = () => {
+ const classes = useStyles();
+ const { loading, error, data } = useCurrentIdentityQuery();
+ const user = data?.repository?.userIdentity;
+ console.log(user);
+ return <main></main>;
+};
+
+export default Identity;