chore: fix style

This commit is contained in:
MystiPanda
2024-02-28 18:25:50 +08:00
parent 1117e28b2e
commit bb13b12de6

View File

@@ -118,7 +118,7 @@ const SettingClash = ({ onError }: Props) => {
extra={ extra={
<Tooltip title={t("Random Port")}> <Tooltip title={t("Random Port")}>
<IconButton <IconButton
color={enable_random_port ? "success" : "inherit"} color={enable_random_port ? "primary" : "inherit"}
size="small" size="small"
onClick={() => { onClick={() => {
Notice.success(t("After restart to take effect"), 1000); Notice.success(t("After restart to take effect"), 1000);