sweetpagination icon indicating copy to clipboard operation
sweetpagination copied to clipboard

Maximum update depth exceeded

Open wimdenherder opened this issue 2 years ago • 0 comments

When I run the example, it works but console shows this error multiple times:

Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render. at SweetPagination (http://localhost:3000/static/js/bundle.js:42555:26) at div at App (http://localhost:3000/static/js/bundle.js:88:96)

Node version: v17.3.0

wimdenherder avatar Jul 16 '22 06:07 wimdenherder