Typos 'texte' => 'parole'
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user