Skip to content

Commit

Permalink
hide load more button when loading
Browse files Browse the repository at this point in the history
  • Loading branch information
beebls committed Feb 1, 2025
1 parent 2decdb1 commit 0106cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/theme-store/components/LoadMoreButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function LoadMoreButton() {

return (
<div className="cl-store-loadmore-container">
{themes.length < themeTotal ? (
{!loading && themes.length < themeTotal ? (
<div className="max-w-1/2">
<DialogButton onClick={handleClick} disabled={loading}>
Load More
Expand Down

0 comments on commit 0106cf2

Please sign in to comment.