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
when adding this piece of code paging: { enabled: true, pageIndex: 1, pageSize: 10, }, from demo, run into the following error - Cannot update a component (KaTable) while rendering a different component (PagingPages). To locate the bad setState() call inside PagingPages, follow the stack trace as described in https://fb.me/setstate-in-render.
Passing the total number of elements like so useEffect(() => { dispatch(updatePagesCount(props.total)); }, [props.total]);
The text was updated successfully, but these errors were encountered:
when adding this piece of code
paging: { enabled: true, pageIndex: 1, pageSize: 10, },
from demo, run into the following error - Cannot update a component (KaTable
) while rendering a different component (PagingPages
). To locate the bad setState() call insidePagingPages
, follow the stack trace as described in https://fb.me/setstate-in-render.Passing the total number of elements like so
useEffect(() => { dispatch(updatePagesCount(props.total)); }, [props.total]);
The text was updated successfully, but these errors were encountered: