From dfce989731fc58268b40280af79eeaa0b80b333e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 17 Dec 2018 23:49:57 +0100 Subject: unicode --- client/faceSearch/faceSearch.result.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'client/faceSearch/faceSearch.result.js') 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 ( -
{errors.nomatch}
- ) + return
} - if (!this.props.result.results.length) { + if (!results.length) { return (
{errors.nomatch}
) -- cgit v1.2.3-70-g09d2