Typos 'texte' => 'parole'

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-23 18:34:55 +04:00
parent c39a0e6669
commit 2d2d531a3e
10 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -158,12 +158,12 @@ export default function Teks({parole, paroleId, commentaires, open, success, err
</Typography>
{parole?.user?.data && (
<Typography style={{marginBottom: '1.5em'}} display='block' variant='caption'>
<i>texte soumis par {parole.user.data.attributes.username}</i>
<i>parole soumise par {parole.user.data.attributes.username}</i>
</Typography>
)}
{parole?.userAdmin?.data && !parole.user.data && (
<Typography style={{marginBottom: '1.5em'}} display='block' variant='caption'>
<i>texte soumis par {parole.userAdmin.data.attributes.username || parole.userAdmin.data.attributes.firstname}</i>
<i>parole soumise par {parole.userAdmin.data.attributes.username || parole.userAdmin.data.attributes.firstname}</i>
</Typography>
)}
</Box>