You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!this.state.solicitudes.length) { // wrap it in a if to avoid the unnecessary animation if it still have cards
this.swiper && this.swiper._resetState();
}
this.setState({
solicitudes: this.state.solicitudes.concat(SolicitudDeViaje.parseItem(res.data.solicitud))
});
...
<SwipeCards
ref={ref => this.swiper = ref!}
...
/>
first load cards
adding cards after renderNoMoreCards shows this when swipping first card (second and later swipes fine)
my code
The text was updated successfully, but these errors were encountered: