diff --git a/src/order-history/OrderHistoryPage.jsx b/src/order-history/OrderHistoryPage.jsx index 48e924d7..28358784 100644 --- a/src/order-history/OrderHistoryPage.jsx +++ b/src/order-history/OrderHistoryPage.jsx @@ -10,7 +10,7 @@ import { FormattedDate, FormattedNumber, } from '@edx/frontend-platform/i18n'; -import { Table, Hyperlink, Pagination } from '@edx/paragon'; +import { DataTable, Hyperlink, Pagination } from '@edx/paragon'; import MediaQuery from 'react-responsive'; import { PageLoading } from '../components'; @@ -66,6 +66,7 @@ class OrderHistoryPage extends React.Component { return ( + > + + ); } @@ -224,6 +227,7 @@ OrderHistoryPage.propTypes = { })), })), pageCount: PropTypes.number, + count: PropTypes.number, currentPage: PropTypes.number, loading: PropTypes.bool, loadingError: PropTypes.string, @@ -235,6 +239,7 @@ OrderHistoryPage.defaultProps = { loadingError: null, loading: false, pageCount: 0, + count: 0, currentPage: null, }; diff --git a/src/order-history/__snapshots__/OrderHistoryPage.test.jsx.snap b/src/order-history/__snapshots__/OrderHistoryPage.test.jsx.snap index 5746ebdd..b0717008 100644 --- a/src/order-history/__snapshots__/OrderHistoryPage.test.jsx.snap +++ b/src/order-history/__snapshots__/OrderHistoryPage.test.jsx.snap @@ -10,7 +10,7 @@ exports[` Renders correctly in various states renders orders