near-in-minutes / frontend

NEAR in Minutes is a NEAR-COOP (NEAR Community Owned and Operated Project) that invites you to binge-watch lessons about the NEAR platform in your favorite language.
https://near-in-minutes.com
0 stars 0 forks source link

Load More button acts unpredictable #60

Closed norrec99 closed 3 years ago

norrec99 commented 3 years ago

When you hit load more a couple of times it should look like this at the end;

But if you keep hitting the button, it looks like this;

Need to fix duplicate videos and disable the load more button when there are no more videos to show

humanman commented 3 years ago

Could be related to this: function renderContentId(v) { return v.content ? v.content[0] : ''; } default to first item in list, which would explain the one item duplicating itself.