Update layout-traffic.tsx (#528)

This commit is contained in:
black23eep 2024-03-10 00:35:26 +08:00 committed by GitHub
parent b7f7a82ea9
commit 44ad99f693

View File

@ -103,7 +103,7 @@ export const LayoutTraffic = () => {
<Box display="flex" alignItems="center" whiteSpace="nowrap"> <Box display="flex" alignItems="center" whiteSpace="nowrap">
<ArrowUpward <ArrowUpward
{...iconStyle} {...iconStyle}
color={+up > 0 ? "primary" : "disabled"} color={+up > 0 ? "secondary" : "disabled"}
/> />
<Typography {...valStyle}>{up}</Typography> <Typography {...valStyle}>{up}</Typography>
<Typography {...unitStyle}>{upUnit}/s</Typography> <Typography {...unitStyle}>{upUnit}/s</Typography>