From 7eb3c04ef85fa0311bdf30b24df2aba102757878 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 19 Mar 2019 20:45:24 +0100 Subject: rebuild site --- scraper/client/search/search.results.js | 49 --------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 scraper/client/search/search.results.js (limited to 'scraper/client/search/search.results.js') diff --git a/scraper/client/search/search.results.js b/scraper/client/search/search.results.js deleted file mode 100644 index 8b9e0c5e..00000000 --- a/scraper/client/search/search.results.js +++ /dev/null @@ -1,49 +0,0 @@ -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

No results

- } - return ( -
-
-
-

Search Results

- - {'Searched 10,523,176 frames from 576,234 videos (took '}{query.timing.toFixed(2)}{' ms)'} - -
-
- -
- ) -} - -const mapStateToProps = state => ({ - query: state.search.query.query, - results: state.search.query.results, - options: state.search.options, -}) - -const mapDispatchToProps = dispatch => ({ - searchActions: bindActionCreators({ ...searchActions }, dispatch), -}) - -export default withRouter(connect(mapStateToProps, mapDispatchToProps)(SearchResults)) -- cgit v1.2.3-70-g09d2