From c793b3a9c84121605a4210f26a6c848d9f738e3f Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 15 Jan 2021 14:32:34 -0500 Subject: [PATCH] fix issues from rebase fallout --- .../src/components/PaginatedDataList/PaginatedDataList.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/awx/ui_next/src/components/PaginatedDataList/PaginatedDataList.jsx b/awx/ui_next/src/components/PaginatedDataList/PaginatedDataList.jsx index a31553658d..92b471c8c3 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,