Merge pull request #15535 from luchillo17/feat/BCKSTG-93-spans

Enable eslint-plugin-react forbid span - Reopen
This commit is contained in:
Ben Lambert
2023-01-11 11:29:28 +01:00
committed by GitHub
41 changed files with 256 additions and 137 deletions
@@ -25,6 +25,7 @@ import {
Paper,
useTheme,
} from '@material-ui/core';
import Typography from '@material-ui/core/Typography';
import BuildIcon from '@material-ui/icons/Build';
import LaunchIcon from '@material-ui/icons/Launch';
import {
@@ -178,9 +179,12 @@ export const SearchModal = ({ toggleModal }: { toggleModal: () => void }) => {
}}
to={`${getSearchLink()}?query=${term}`}
>
<span className={classes.viewResultsLink}>
<Typography
component="span"
className={classes.viewResultsLink}
>
View Full Results
</span>
</Typography>
<LaunchIcon color="primary" />
</Link>
</Grid>