Skip to content

Commit

Permalink
Change Link to always underline
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Oct 16, 2024
1 parent fb2bd03 commit a386148
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ const IncompleteSteps = () => {
{steps.map(({ label: stepName, severity }) => (
<Typography component="li" key={stepName}>
<Link
underline="always"
// Carson doesn't love this logic being duplicated here,
// but values semantic markup more
to={{ search: `?step=${kebabCase(stepName)}` }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ export const PnPExtractionProblems = memo(function PnPExtractionProblems({
<Alert severity="info" sx={{ mb: 1 }}>
Once these problems are fixed, the updated file needs to be
uploaded on the{' '}
<Link
to={`/engagements/${engagement.id}`}
color="inherit"
underline="always"
>
<Link to={`/engagements/${engagement.id}`} color="inherit">
Planning Spreadsheet
</Link>{' '}
to synchronize the changes for the planned goals.
Expand Down
2 changes: 1 addition & 1 deletion src/theme/overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const appComponents = ({
},
MuiLink: {
defaultProps: {
underline: 'hover',
underline: 'always',
color: 'primary.main',
},
},
Expand Down

0 comments on commit a386148

Please sign in to comment.