aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/CurrentIdentity.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/CurrentIdentity.tsx')
-rw-r--r--webui/src/CurrentIdentity.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/webui/src/CurrentIdentity.tsx b/webui/src/CurrentIdentity.tsx
index 0a697cdd..07ff648c 100644
--- a/webui/src/CurrentIdentity.tsx
+++ b/webui/src/CurrentIdentity.tsx
@@ -14,8 +14,7 @@ const CurrentIdentity = () => {
const classes = useStyles();
const { loading, error, data } = useCurrentIdentityQuery();
- if (error || loading || !data?.defaultRepository?.userIdentity)
- return null;
+ if (error || loading || !data?.defaultRepository?.userIdentity) return null;
const user = data.defaultRepository.userIdentity;
return (