We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8cba994 + 650979f commit 471a076Copy full SHA for 471a076
packages/ra-ui-materialui/src/list/Placeholder.tsx
@@ -21,7 +21,9 @@ interface Props {
21
const Placeholder: FC<Props> = props => {
22
const classes = useStyles(props);
23
return (
24
- <div className={classnames(classes.root, props.className)}> </div>
+ <span className={classnames(classes.root, props.className)}>
25
+
26
+ </span>
27
);
28
};
29
packages/ra-ui-materialui/src/list/SimpleListLoading.tsx
@@ -53,7 +53,7 @@ const SimpleListLoading: FC<Props & ListProps> = props => {
53
return oneSecondHasPassed ? (
54
<List className={className} {...rest}>
55
{times(nbFakeLines, key => (
56
- <ListItem>
+ <ListItem key={key}>
57
{hasLeftAvatarOrIcon && (
58
<ListItemAvatar>
59
<Avatar> </Avatar>
0 commit comments