Browse Source

79903 add null check

Yohei-Shiina 4 years ago
parent
commit
600353c36f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/SearchPage/SearchResultList.jsx

+ 1 - 1
packages/app/src/components/SearchPage/SearchResultList.jsx

@@ -20,7 +20,7 @@ class SearchResultList extends React.Component {
             />
           );
         })}
-        {this.props.searchResultCount > 0 && (
+        {this.props.searchResultCount != null && this.props.searchResultCount > 0 && (
           <div className="my-4 mx-auto">
             <PaginationWrapper
               activePage={this.props.activePage || 1}