import { Spinner, SpinnerSize } from '@blueprintjs/core'

const HealthCheck = () => (
  /*
   * This is a dummy element which is used for propagating load states from `@inject/graphql` package, it's necessary that this element is mounted in needed places and that it's a singleton. It's not useless :)
   */
  <Spinner
    id='counterElement'
    size={SpinnerSize.SMALL}
    value={1}
    intent='success'
    title={`backend status: no queries ran yet`}
  />
)

export default HealthCheck
