mirror of
https://github.com/Awesome-Technologies/synapse-admin.git
synced 2025-07-21 04:54:36 +02:00
Fix warning about defaultProps
Change-Id: I6caf8c0c7b46a1b8133d1ebe1d29f2b823a2c7c4
This commit is contained in:
parent
3fcb6ca4dd
commit
af95ddaca2
@ -58,7 +58,7 @@ const choices_type = [
|
||||
{ id: "support", name: "support" },
|
||||
];
|
||||
|
||||
const UserListActions = () => {
|
||||
const UserListActions = ({ selectedIds = [], onUnselectItems = () => null }) => {
|
||||
const { isLoading, total } = useListContext();
|
||||
return (
|
||||
<TopToolbar>
|
||||
@ -67,11 +67,6 @@ const UserListActions = () => {
|
||||
);
|
||||
};
|
||||
|
||||
UserListActions.defaultProps = {
|
||||
selectedIds: [],
|
||||
onUnselectItems: () => null,
|
||||
};
|
||||
|
||||
const UserPagination = () => <Pagination rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]} />;
|
||||
|
||||
const userFilters = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user