I use react paginate to make pagination and active and breaklabel doesn't work when I setloading in each page

19 Views Asked by At

[this getPage function l call api and sent currentPage as parameter[ and this is handlPageCLick when I click on page call this function and l call also getPage and update state setdrivers when l remove setloading active and breaklabel is work and when l put setloading active and break label doesn't workand this is ReactPaginate component and onpagechange call handlePageCLick and all classname I took it from bootstrap](https://i.stack.imgur.com/FBZvM.jpg)](https://i.stack.imgur.com/tjrSy.jpg)

I want to handle active and breaklabel when I click on any page active work and breaklabel also

0

There are 0 best solutions below