Skip to content

Commit

Permalink
IBX-8807: Applied review remark
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Oct 3, 2024
1 parent 58d7cfe commit b467e63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bundle/ui-dev/src/modules/sub-items/sub.items.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,13 @@ export default class SubItemsModule extends Component {
const cursor = this.calculateCursor(pageIndex);
const queryConfig = { locationId, limit: itemsPerPage, sortClause, sortOrder, cursor };

this.setState(() => ({
this.setState({
queryParams: {
sortClause,
sortOrder,
cursor,
},
}));
});

loadLocation(restInfo, queryConfig, (response) => {
const { totalCount, pages, edges } = response.data._repository.location.children;
Expand Down

0 comments on commit b467e63

Please sign in to comment.