diff options
Diffstat (limited to 'webui/src/bug/BugQuery.tsx')
-rw-r--r-- | webui/src/bug/BugQuery.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webui/src/bug/BugQuery.tsx b/webui/src/bug/BugQuery.tsx index 6bf525e6..b436db5a 100644 --- a/webui/src/bug/BugQuery.tsx +++ b/webui/src/bug/BugQuery.tsx @@ -6,11 +6,13 @@ import { useGetBugQuery } from './BugQuery.generated'; import Bug from './Bug'; type Props = RouteComponentProps<{ - id: string + id: string; }>; const BugQuery: React.FC<Props> = ({ match }: Props) => { - const { loading, error, data } = useGetBugQuery({ variables: { id: match.params.id } }); + const { loading, error, data } = useGetBugQuery({ + variables: { id: match.params.id }, + }); if (loading) return <CircularProgress />; if (error) return <p>Error: {error}</p>; if (!data?.defaultRepository?.bug) return <p>404.</p>; |