diff --git a/awx/ui_next/src/components/PaginatedDataList/PaginatedDataList.jsx b/awx/ui_next/src/components/PaginatedDataList/PaginatedDataList.jsx index a31553658d74..92b471c8c32c 100644 --- a/awx/ui_next/src/components/PaginatedDataList/PaginatedDataList.jsx +++ b/awx/ui_next/src/components/PaginatedDataList/PaginatedDataList.jsx @@ -60,9 +60,7 @@ function PaginatedDataList({ pushHistoryState(replaceParams(oldParams, { page_size: pageSize, page })); }; - const pushHistoryState = (params) => { - const { history, qsConfig } = this.props; - const { pathname } = history.location; + const pushHistoryState = params => { const nonNamespacedParams = parseQueryString({}, history.location.search); const encodedParams = encodeNonDefaultQueryString( qsConfig,