Commit 3ad0e7a3 authored by Manuel BACLET's avatar Manuel BACLET

Remove unused prop

parent fdd68db2
......@@ -19,7 +19,6 @@ const ResourceList = ({
showSearchLink,
total
}) => {
// query et queryOptions vont toujours ensemble
if (!queryOptions) {
// pas très normal…
console.error(Error('ResourceList appelé sans query'))
......@@ -164,7 +163,6 @@ ResourceList.propTypes = {
handlePageClick: PropTypes.func.isRequired,
askDelete: PropTypes.func.isRequired,
// fourni par resourceListProvider
query: PropTypes.object,
queryOptions: PropTypes.shape({
skip: PropTypes.number.isRequired,
limit: PropTypes.number.isRequired
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment