diff options
Diffstat (limited to 'webui/src/pages/identity/IdentityQuery.tsx')
-rw-r--r-- | webui/src/pages/identity/IdentityQuery.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webui/src/pages/identity/IdentityQuery.tsx b/webui/src/pages/identity/IdentityQuery.tsx index 5a3b2616..d18f8c6b 100644 --- a/webui/src/pages/identity/IdentityQuery.tsx +++ b/webui/src/pages/identity/IdentityQuery.tsx @@ -9,7 +9,7 @@ import Identity from './Identity'; const UserQuery: React.FC = () => { const params = useParams<'id'>(); - if (params.id === undefined) throw new Error(); + if (params.id === undefined) throw new Error('missing route parameters'); const { loading, error, data } = useGetUserByIdQuery({ variables: { userId: params.id }, |