shinoka7 6 лет назад
Родитель
Сommit
5c90efc1eb
1 измененных файлов с 1 добавлено и 6 удалено
  1. 1 6
      src/client/js/components/PaginationWrapper.jsx

+ 1 - 6
src/client/js/components/PaginationWrapper.jsx

@@ -133,12 +133,7 @@ class PaginationWrapper extends React.Component {
 
 
   render() {
   render() {
     const { children } = this.props;
     const { children } = this.props;
-    const childElement = React.cloneElement(
-      children, {
-        currentItems: this.state.currentItems,
-        currentPage: this.state.activePage,
-      },
-    );
+    const childElement = React.cloneElement(children);
 
 
     const paginationItems = [];
     const paginationItems = [];