pl-fe: Replace immer with mutative
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -39,9 +39,9 @@ const UserIndex: React.FC = () => {
|
||||
updateQuery();
|
||||
}, []);
|
||||
|
||||
const hasMore = items.count() < total && !!next;
|
||||
const hasMore = items.length < total && !!next;
|
||||
|
||||
const showLoading = isLoading && items.isEmpty();
|
||||
const showLoading = isLoading && !items.length;
|
||||
|
||||
return (
|
||||
<Column label={intl.formatMessage(messages.heading)}>
|
||||
|
||||
Reference in New Issue
Block a user