import React, { Component } from 'react' import { Link, withRouter } from 'react-router-dom' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import * as querystring from 'querystring' import { Keyframes } from '../common' import * as searchActions from './search.actions' function SearchResults({ query, results, options }) { if (!query || query.reset || query.loading || !results) { return
} if (!query.loading && !results.length) { return