Skip to content

Commit 3789c45

Browse files
committed
Improve SimpleList default empty component.
1 parent 4a3acde commit 3789c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-ui-materialui/src/list/SimpleList/SimpleList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const SimpleList = <RecordType extends RaRecord = any>(
110110
hasTertiaryText={!!tertiaryText}
111111
/>
112112
}
113-
empty={empty ?? <></>}
113+
empty={empty ?? null}
114114
render={({ data }) => (
115115
<Root className={className} {...sanitizeListRestProps(rest)}>
116116
<RecordsIterator

0 commit comments

Comments
 (0)