diff --git a/src/resources/users.tsx b/src/resources/users.tsx index 989c115..835d57d 100644 --- a/src/resources/users.tsx +++ b/src/resources/users.tsx @@ -58,7 +58,7 @@ const choices_type = [ { id: "support", name: "support" }, ]; -const UserListActions = () => { +const UserListActions = ({ selectedIds = [], onUnselectItems = () => null }) => { const { isLoading, total } = useListContext(); return ( @@ -67,11 +67,6 @@ const UserListActions = () => { ); }; -UserListActions.defaultProps = { - selectedIds: [], - onUnselectItems: () => null, -}; - const UserPagination = () => ; const userFilters = [