Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Feb 13, 2021
1 parent 367c83c commit 03d337e
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions packages/ra-core/src/controller/useListContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,62 +169,3 @@ const extractListContextProps = ({
});

export default useListContext;

/**
* Extract only the list controller props
*
* @param {Object} props Props passed to the useListContext hook
*
* @returns {ListControllerProps} List controller props
*/
const extractListContextProps = ({
basePath,
currentSort,
data,
defaultTitle,
displayedFilters,
filterValues,
hasCreate,
hideFilter,
ids,
loaded,
loading,
onSelect,
onToggleItem,
onUnselectItems,
page,
perPage,
resource,
selectedIds,
setFilters,
setPage,
setPerPage,
setSort,
showFilter,
total,
}) => ({
basePath,
currentSort,
data,
defaultTitle,
displayedFilters,
filterValues,
hasCreate,
hideFilter,
ids,
loaded,
loading,
onSelect,
onToggleItem,
onUnselectItems,
page,
perPage,
resource,
selectedIds,
setFilters,
setPage,
setPerPage,
setSort,
showFilter,
total,
});

0 comments on commit 03d337e

Please sign in to comment.