CEC-381 Fix install progress (#77)
* Fix install progress * Remove unused components and inline styles * Update test * errors are not the final update state * Remove max width for main container * Progress starts at 0
This commit is contained in:
@@ -5,31 +5,20 @@ import ListItemIcon from "@material-ui/core/ListItemIcon";
|
||||
import ListItemText from "@material-ui/core/ListItemText";
|
||||
import { Link } from "@material-ui/core";
|
||||
|
||||
import useStyles from "./useStyles";
|
||||
|
||||
function ListItemExternalLink(props) {
|
||||
const { icon, primary, url } = props;
|
||||
const style = {
|
||||
textDecoration: "inherit",
|
||||
color: "inherit",
|
||||
"&:link": {
|
||||
textDecoration: "inherit",
|
||||
color: "inherit",
|
||||
cursor: "auto",
|
||||
},
|
||||
"&:visited": {
|
||||
textDecoration: "inherit",
|
||||
color: "inherit",
|
||||
cursor: "auto",
|
||||
},
|
||||
};
|
||||
const classes = useStyles();
|
||||
|
||||
return (
|
||||
<ListItem
|
||||
button
|
||||
component={Link}
|
||||
style={style}
|
||||
href={url}
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
className={classes.menuExternalLink}
|
||||
>
|
||||
{icon ? <ListItemIcon>{icon}</ListItemIcon> : null}
|
||||
<ListItemText primary={primary} />
|
||||
|
||||
Reference in New Issue
Block a user