Update layout-traffic.tsx (#528)

This commit is contained in:
black23eep 2024-03-10 00:35:26 +08:00 committed by GitHub
parent 40db481453
commit 41fbf5ba36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>