Skip to content

Commit

Permalink
Error on featured resources request (GeoNode#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhweziDeo authored Jun 17, 2021
1 parent 31f9991 commit 12027e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const FeaturedList = withResizeDetector(({
buildHrefByTemplate={buildHrefByTemplate}
containerWidth={width}
onResize={(cardsCount) => {
onLoad(undefined, cardsCount);
!isNaN(cardsCount) && onLoad(undefined, cardsCount);
setCount(cardsCount);
}}
/>
Expand Down

0 comments on commit 12027e9

Please sign in to comment.