Skip to content

Commit 81dd0b9

Browse files
committed
change to warning icon
1 parent e79d45f commit 81dd0b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/components/AppLink/AppLink.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Button from "@material-ui/core/Button"
22
import CircularProgress from "@material-ui/core/CircularProgress"
33
import Link from "@material-ui/core/Link"
44
import { makeStyles } from "@material-ui/core/styles"
5-
import CloseIcon from "@material-ui/icons/Close"
5+
import ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';
66
import ComputerIcon from "@material-ui/icons/Computer"
77
import { FC, PropsWithChildren } from "react"
88
import * as TypesGen from "../../api/typesGenerated"
@@ -50,7 +50,7 @@ export const AppLink: FC<PropsWithChildren<AppLinkProps>> = ({
5050
}
5151
if (health === "unhealthy") {
5252
canClick = false
53-
icon = <CloseIcon className={styles.unhealthyIcon} />
53+
icon = <ErrorOutlineIcon className={styles.unhealthyIcon} />
5454
}
5555

5656
return (
@@ -93,6 +93,6 @@ const useStyles = makeStyles((theme) => ({
9393
},
9494

9595
unhealthyIcon: {
96-
color: theme.palette.error.main,
96+
color: theme.palette.warning.light,
9797
},
9898
}))

0 commit comments

Comments
 (0)