From c97e3d70749037d1e1f5395bfdd1e254405749e3 Mon Sep 17 00:00:00 2001 From: fzaninotto Date: Mon, 30 Sep 2024 11:51:30 +0200 Subject: [PATCH] Fix typo --- packages/ra-ui-materialui/src/list/ListView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ra-ui-materialui/src/list/ListView.tsx b/packages/ra-ui-materialui/src/list/ListView.tsx index 1a06d41e26..f3aa291fe2 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 &&