mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 08:42:53 +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 Reputation(reputation: number | string): JSX.Element {
|
||||
return <span className={"reputation samefont"}>{typeof reputation === 'number' ? numeralWrapper.formatReputation(reputation) : reputation}</span>
|
||||
}
|
||||
return (
|
||||
<span className={"reputation samefont"}>
|
||||
{typeof reputation === "number"
|
||||
? numeralWrapper.formatReputation(reputation)
|
||||
: reputation}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user