title: antd table pagination bug
body: <p>I have an issue connected with antd table pagination. I want to make a custom pagination and show 3 items per page at a table. So I am slicing my data into a 3 elements. Everything is ok at a console :) But when I set my array as a <code>dataSource</code> prop at first page everything is ok too. After clicking on a second page e.g it's like overriding previous page's data and shows on a second both data. I would be glad to know your opinion what's wrong in this code.</p>
  <pre><code>&lt;Table
     dataSource={investmentReturnsData.quarter1.data}
     columns={this.investReturnColumns}
     className=&quot;c-table c-table-default c-table-dashed hide_head paging_right&quot;
     pagination={{
       pageSize: 3,
       total: investmentReturnsData.quarter1.count,
       onChange: (current) =&gt; this.getInvestmentReturnData('quarter1', current),
     }}
  /&gt;
  
  const slicedArray = returningData.slice((currentPage - 1) * 3, currentPage * 3);
  </code></pre>