Skip to content

Commit

Permalink
Chore: Remove mui paragraph prop
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed Sep 9, 2024
1 parent b145a68 commit e1ca00d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/baseComponents/Info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function Info({ children, direction = 'row', variant = 'caption',
<Paper sx={{ mt: 0.5, mb: 1 }} elevation={0}>
<Box sx={{ p: 1, display: 'flex', flexDirection: direction }}>
<Box sx={{ mr: 1 }}>{icon}</Box>
<Typography variant={variant} paragraph sx={{ mb: 0 }}>
<Typography variant={variant} sx={{ mb: 0 }}>
{children}
</Typography>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion src/components/baseComponents/Section.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const SectionInfo = ({ title, children }) => {
<LiveHelpIcon sx={{ marginRight: 1 }} /> <Typography>{t('Help')}</Typography>
</AccordionSummary>
<AccordionDetails>
<Typography variant="caption" paragraph sx={{ mb: 0 }}>
<Typography variant="caption" sx={{ mb: 0 }}>
{children}
</Typography>
</AccordionDetails>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const IndexPage = () => {

{multicore && (
<Alert severity="error" sx={{ marginBottom: 2 }}>
<Typography variant="body2" paragraph>
<Typography variant="body2" sx={{ marginBottom: '16px' }}>
You have selected the experimental multicore mode. This mode is still in development
and may cause issues. Please report any issues in the Discretize{' '}
<Link href="https://discord.gg/Qdt7nFY" target="_blank" rel="noopener">
Expand All @@ -113,7 +113,7 @@ const IndexPage = () => {
.
</Typography>

<Typography variant="body2" paragraph>
<Typography variant="body2" sx={{ marginBottom: '16px' }}>
A number of features are incomplete / broken in this mode. Other than those enumerated
here, the optimizer should work as expected.
</Typography>
Expand Down

0 comments on commit e1ca00d

Please sign in to comment.