fix(web): use tabular-nums with the ui font for sidebar timer (#10592)
This commit is contained in:
1 parent
c8ec7df124
commit
5ec6f77ec0
1 file changed
+1
-5
@@ -281,11 +281,7 @@ function WorkingDuration(props: { startedAt: string | null }) {
|
||||
return () => window.clearInterval(id);
|
||||
}, [startedMs]);
|
||||
if (Number.isNaN(startedMs)) return null;
|
||||
return (
|
||||
<span className="font-mono tabular-nums">
|
||||
{formatWorkingDurationLabel(Date.now() - startedMs)}
|
||||
</span>
|
||||
);
|
||||
return <span className="tabular-nums">{formatWorkingDurationLabel(Date.now() - startedMs)}</span>;
|
||||
}
|
||||
|
||||
const EMPTY_PROVIDER_ENTRIES: ReadonlyMap<string, ProviderInstanceEntry> = new Map();
|
||||
|
||||
Reference in new issue
Block a user