import CircularProgress from '@material-ui/core/CircularProgress' import gql from 'graphql-tag' import React from 'react' import { Query } from 'react-apollo' import Bug from './Bug' const QUERY = gql` query GetBug($id: String!) { defaultRepository { bug(prefix: $id) { ...Bug } } } ${Bug.fragment} ` const BugPage = ({match}) => ( {({loading, error, data}) => { if (loading) return if (error) return

Error.

return }}
) export default BugPage