feat: remove sec field

This commit is contained in:
GyDi
2021-12-17 00:39:55 +08:00
parent f736951fc8
commit 8d7ef0dc94
2 changed files with 12 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ const Traffic = () => {
color={+up > 0 ? "primary" : "disabled"}
/>
<Typography {...valStyle}>{up}</Typography>
<Typography {...unitStyle}>{upUnit}</Typography>
<Typography {...unitStyle}>{upUnit}/s</Typography>
</Box>
<Box display="flex" alignItems="center" whiteSpace="nowrap">
@@ -63,7 +63,7 @@ const Traffic = () => {
color={+down > 0 ? "primary" : "disabled"}
/>
<Typography {...valStyle}>{down}</Typography>
<Typography {...unitStyle}>{downUnit}</Typography>
<Typography {...unitStyle}>{downUnit}/s</Typography>
</Box>
</Box>
);