Skip to content

Commit a8092f9

Browse files
committed
fix: migrate to mui@9
1 parent 3af5516 commit a8092f9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ui/src/message/Message.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ const HeaderWide = ({
240240
) : null}
241241
</div>
242242
<div className={classes.headerTitle}>
243-
<Typography className="title" variant="h5" lineHeight={1.2}>
243+
<Typography className="title" variant="h5" sx={{lineHeight: 1.2}}>
244244
{title}
245245
</Typography>
246-
<Typography variant="subtitle1" fontSize={12} style={{opacity: 0.7}}>
246+
<Typography variant="subtitle1" sx={{fontSize: 12, opacity: 0.7}}>
247247
{appName}
248248
</Typography>
249249
</div>
@@ -272,10 +272,10 @@ const HeaderSmall = ({
272272
return (
273273
<div className={classes.header}>
274274
<div className={classes.headerTitle}>
275-
<Typography className="title" variant="h5" lineHeight={1.2}>
275+
<Typography className="title" variant="h5" sx={{lineHeight: 1.2}}>
276276
{title}
277277
</Typography>
278-
<Typography variant="subtitle1" fontSize={12} style={{opacity: 0.7}}>
278+
<Typography variant="subtitle1" sx={{fontSize: 12, opacity: 0.7}}>
279279
{appName}
280280
</Typography>
281281
<Typography variant="body1" className={classes.date}>

0 commit comments

Comments
 (0)