Fix styling of button

This commit is contained in:
jwu-fisker
2021-06-09 11:10:38 -07:00
parent c369480f24
commit db86e85aba
2 changed files with 6 additions and 10 deletions

View File

@@ -3367,8 +3367,9 @@ exports[`App Route /updates authenticated 1`] = `
/> />
</svg> </svg>
</a> </a>
<span <a
class="MuiTypography-root MuiTypography-colorPrimary" class=""
href="/updates"
title="Delete \\"Package 1.0\\"" title="Delete \\"Package 1.0\\""
> >
<svg <svg
@@ -3382,7 +3383,7 @@ exports[`App Route /updates authenticated 1`] = `
d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
/> />
</svg> </svg>
</span> </a>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@@ -9,7 +9,6 @@ import {
TableRow, TableRow,
Toolbar, Toolbar,
Tooltip, Tooltip,
Typography,
} from "@material-ui/core"; } from "@material-ui/core";
import SendIcon from "@material-ui/icons/Send"; import SendIcon from "@material-ui/icons/Send";
import VisibilityIcon from "@material-ui/icons/Visibility"; import VisibilityIcon from "@material-ui/icons/Visibility";
@@ -164,13 +163,9 @@ const UpdatePackagesList = () => {
} else { } else {
return ( return (
<Tooltip key={`delete-${action.id}`} title={action.tip}> <Tooltip key={`delete-${action.id}`} title={action.tip}>
<Typography <Link to="#" onClick={() => onDelete(action.id)}>
color="primary"
variant="inherit"
onClick={() => onDelete(action.id)}
>
{action.icon} {action.icon}
</Typography> </Link>
</Tooltip> </Tooltip>
); );
} }