Skip to content

Commit

Permalink
fix(grid): loading icon on initial tab load (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila authored Oct 10, 2023
1 parent 08ac773 commit b97c715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ class Grid extends React.Component<
? <Button classes={["marketplace-add-snippet-btn"]} onClick={() => openModal("ADD_SNIPPET")}>+ {t("grid.addCSS")}</Button>
: null}
<footer className="marketplace-footer">
{!this.state.endOfList && (this.state.rest ? <LoadMoreIcon onClick={this.loadMore.bind(this)} /> : <LoadingIcon />)}
{!this.state.endOfList && (this.state.rest && this.state.cards.length > 0 ? <LoadMoreIcon onClick={this.loadMore.bind(this)} /> : <LoadingIcon />)}
</footer>
<TopBarContent
switchCallback={this.switchTo.bind(this)}
Expand Down

0 comments on commit b97c715

Please sign in to comment.