1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-01 13:47:27 +02:00

chore: remove layer of nesting

This commit is contained in:
Thomas Heartman 2025-05-27 14:31:04 +02:00
parent 5df074bd14
commit 8e5112d764

View File

@ -73,14 +73,14 @@ export const InsightsHeader: VFC<DashboardHeaderProps> = ({ actions }) => {
titleElement={ titleElement={
<Typography <Typography
variant='h1' variant='h1'
component='div' component='span'
sx={(theme) => ({ sx={(theme) => ({
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
gap: theme.spacing(1), gap: theme.spacing(1),
})} })}
> >
<span>Insights</span>{' '} Insights
</Typography> </Typography>
} }
actions={ actions={