diff --git a/packages/ra-ui-materialui/src/list/ListView.tsx b/packages/ra-ui-materialui/src/list/ListView.tsx index 1a06d41e260..f3aa291fe23 100644 --- a/packages/ra-ui-materialui/src/list/ListView.tsx +++ b/packages/ra-ui-materialui/src/list/ListView.tsx @@ -75,7 +75,7 @@ export const ListView = ( (total == null && hasPreviousPage === false && hasNextPage === false && - // @ts-ignore FIXME total my be undefined when using partial pagination + // @ts-ignore FIXME total may be undefined when using partial pagination but the ListControllerResult type is wrong about it data.length === 0)) && // the user didn't set any filters !Object.keys(filterValues).length &&