Update deprecated property

This commit is contained in:
Nicola Benaglia 2025-05-27 22:56:53 +02:00
parent c9f6f8328c
commit d6ef92fe0e

View File

@ -465,11 +465,12 @@ export const MessageItem = memo(
vertical: 'bottom', vertical: 'bottom',
horizontal: 'center', horizontal: 'center',
}} }}
PaperProps={{ slotProps={{
// TODO: deprecated paper: {
style: { style: {
backgroundColor: theme.palette.background.default, backgroundColor: theme.palette.background.default,
color: theme.palette.text.primary, color: theme.palette.text.primary,
},
}, },
}} }}
> >
@ -595,6 +596,7 @@ export const MessageItem = memo(
})} })}
</Typography> </Typography>
)} )}
<Typography <Typography
sx={{ sx={{
fontSize: '14px', fontSize: '14px',