mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
refactor: simplify seconds display in Overview time component
This commit is contained in:
parent
c520d415e8
commit
9fc050c2a1
@ -136,13 +136,7 @@ function Overview() {
|
|||||||
digits={{ 1: { max: 5 } }}
|
digits={{ 1: { max: 5 } }}
|
||||||
format={{ minimumIntegerDigits: 2 }}
|
format={{ minimumIntegerDigits: 2 }}
|
||||||
/>
|
/>
|
||||||
<NumberFlow
|
<p className="mt-[0.5px]">:{time.ss.toString().padStart(2, "0")}</p>
|
||||||
prefix=":"
|
|
||||||
trend={1}
|
|
||||||
value={time.ss}
|
|
||||||
digits={{ 1: { max: 5 } }}
|
|
||||||
format={{ minimumIntegerDigits: 2 }}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</NumberFlowGroup>
|
</NumberFlowGroup>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user