aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/identity/Identity.tsx
blob: d936068bfb29347b4f344eeb20388ed8d556da11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;