text: /*
   * This file is part of React-SearchKit.
   * Copyright (C) 2018 CERN.
   *
   * React-SearchKit is free software; you can redistribute it and/or modify it
   * under the terms of the MIT License; see LICENSE file for more details.
   */
  
  import { connect } from '../../store';
  import ErrorComponent from './Error';
  
  export const Error = connect(state => ({
    loading: state.results.loading,
    error: state.results.error,
  }))(ErrorComponent);
  