Replace _id by id

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-05 17:58:05 +04:00
parent 3a21a6abee
commit 51879ba5aa
11 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ const StyledList = styled(List)((
export default function KomanteList({komante}) {
return (
<StyledList className={classes.root}>
{komante.map(({_id, username, kontni, sentAt}) => (
<div key={_id}>
{komante.map(({id, username, kontni, sentAt}) => (
<div key={id}>
<ListItemText
primary={
<Typography gutterBottom style={{fontWeight: 'bold'}} variant='body1'>