summaryrefslogtreecommitdiff
path: root/client/faceSearch
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-12-17 23:49:57 +0100
committerJules Laplace <julescarbon@gmail.com>2018-12-17 23:49:57 +0100
commitdfce989731fc58268b40280af79eeaa0b80b333e (patch)
tree9afa48e6096164b5378b77025f3c19fb827d1a9c /client/faceSearch
parentb0120413faebeffb41db151d82b07775c754ad15 (diff)
unicode
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>
)