|
|
@ -21,7 +21,7 @@ export default function SortList ({ |
|
|
|
swapToSymbol, |
|
|
|
swapToSymbol, |
|
|
|
sortDirection, |
|
|
|
sortDirection, |
|
|
|
setSortDirection, |
|
|
|
setSortDirection, |
|
|
|
sortColumn, |
|
|
|
sortColumn = null, |
|
|
|
setSortColumn, |
|
|
|
setSortColumn, |
|
|
|
}) { |
|
|
|
}) { |
|
|
|
const t = useContext(I18nContext) |
|
|
|
const t = useContext(I18nContext) |
|
|
@ -171,6 +171,6 @@ SortList.propTypes = { |
|
|
|
quoteDataRows: PropTypes.arrayOf(QUOTE_DATA_ROWS_PROPTYPES_SHAPE).isRequired, |
|
|
|
quoteDataRows: PropTypes.arrayOf(QUOTE_DATA_ROWS_PROPTYPES_SHAPE).isRequired, |
|
|
|
sortDirection: PropTypes.number.isRequired, |
|
|
|
sortDirection: PropTypes.number.isRequired, |
|
|
|
setSortDirection: PropTypes.func.isRequired, |
|
|
|
setSortDirection: PropTypes.func.isRequired, |
|
|
|
sortColumn: PropTypes.string.isRequired, |
|
|
|
sortColumn: PropTypes.string, |
|
|
|
setSortColumn: PropTypes.func.isRequired, |
|
|
|
setSortColumn: PropTypes.func.isRequired, |
|
|
|
} |
|
|
|
} |
|
|
|