mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 12:27:07 +02:00
prettify, sorry for the big ass commit
This commit is contained in:
@@ -2,5 +2,11 @@ import * as React from "react";
|
||||
import { numeralWrapper } from "../../ui/numeralFormat";
|
||||
|
||||
export function Hashes(hashes: number | string): JSX.Element {
|
||||
return <span className={"money-gold samefont"}>{typeof hashes === 'number' ? numeralWrapper.formatHashes(hashes) : hashes}</span>
|
||||
}
|
||||
return (
|
||||
<span className={"money-gold samefont"}>
|
||||
{typeof hashes === "number"
|
||||
? numeralWrapper.formatHashes(hashes)
|
||||
: hashes}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user