summaryrefslogtreecommitdiff
path: root/client/faceSearch
diff options
context:
space:
mode:
Diffstat (limited to 'client/faceSearch')
-rw-r--r--client/faceSearch/faceSearch.result.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/faceSearch/faceSearch.result.js b/client/faceSearch/faceSearch.result.js
index 2a85552d..d63f3265 100644
--- a/client/faceSearch/faceSearch.result.js
+++ b/client/faceSearch/faceSearch.result.js
@@ -50,11 +50,9 @@ class FaceSearchResult extends Component {
)
}
if (!results) {
- return (
- <div className='result'>{errors.nomatch}</div>
- )
+ return <div className='result'></div>
}
- if (!this.props.result.results.length) {
+ if (!results.length) {
return (
<div className='result'>{errors.nomatch}</div>
)