Skip to content

Commit

Permalink
Rename hooks options interface to Options
Browse files Browse the repository at this point in the history
  • Loading branch information
Gildas Garcia committed May 16, 2019
1 parent 6b46b8e commit e783332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ra-core/src/controller/useListParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { Sort, ReduxState, Identifier, RecordMap } from '../types';
import removeEmpty from '../util/removeEmpty';
import removeKey from '../util/removeKey';

interface Props {
interface Options {
filterDefaultValues?: object;
perPage?: number;
sort?: Sort;
Expand Down Expand Up @@ -94,7 +94,7 @@ const useListParams = ({
},
perPage = 10,
debounce = 500,
}: Props): [Query, Actions] => {
}: Options): [Query, Actions] => {
const [displayedFilters, setDisplayedFilters] = useState({});
const dispatch = useDispatch();

Expand Down

0 comments on commit e783332

Please sign in to comment.