Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Resolves #317, rename renderPaginationLeft
Browse files Browse the repository at this point in the history
  • Loading branch information
Portals committed Mar 3, 2020
1 parent 1155ca1 commit 97dfc53
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/views/digit-table/DigitTable.view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class DigitTable extends React.Component {
selected,
emptyTableText,
headerTexts,
_renderPaginationLeft
renderPaginationLeft //Plz don't use this. It will probably be removed.
} = this.props;
const { data, order, orderBy, rowsPerPage, page } = this.state;

Expand Down Expand Up @@ -226,13 +226,13 @@ class DigitTable extends React.Component {

<Row
justifyContent={
_renderPaginationLeft == null
renderPaginationLeft == null
? "flex-end"
: "space-between"
}
>
{_renderPaginationLeft != null &&
_renderPaginationLeft()}
{renderPaginationLeft != null &&
renderPaginationLeft()}
<StyledTablePagination
component="div"
count={
Expand All @@ -252,7 +252,7 @@ class DigitTable extends React.Component {
this.handleChangeRowsPerPage
}
labelRowsPerPage={text.RowsPerPage}
_renderPaginationLeft={_renderPaginationLeft}
renderPaginationLeft={renderPaginationLeft}
/>
</Row>
</TablePaper>
Expand Down

0 comments on commit 97dfc53

Please sign in to comment.