Skip to content

Commit

Permalink
fix: load more button hide (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
melniiv authored Dec 11, 2023
1 parent 6cdfae8 commit f44ad8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helsinki-headless-cms",
"version": "1.0.0-alpha237",
"version": "1.0.0-alpha238",
"description": "React components for displaying Headless CMS content according to guidelines set by HDS",
"main": "cjs/index.js",
"module": "index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export function SearchPageContent(props: SearchPageContentProps) {
<LoadingSpinner multicolor />
</div>
)}
{hasMore && (
{!isLoading && hasMore && (
<div className={styles.loadMoreButton}>
<Button
variant="secondary"
Expand Down

0 comments on commit f44ad8e

Please sign in to comment.