converting more blade to react/ts

This commit is contained in:
Olivier Gagnon
2021-06-18 16:22:12 -04:00
parent 0e9d7450c9
commit 988ca37764
15 changed files with 421 additions and 351 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ export function CharacterInfo(p: IPlayer): React.ReactElement {
if (src.casino) { parts.push([`Casino:`, Money(src.casino)]) }
if (src.sleeves) { parts.push([`Sleeves:`, Money(src.sleeves)]) }
return StatsTable(parts, "");
return StatsTable(parts);
}
function openMoneyModal(): void {
@@ -254,7 +254,7 @@ export function CharacterInfo(p: IPlayer): React.ReactElement {
<span>{`Servers owned: ${p.purchasedServers.length} / ${getPurchaseServerLimit()}`}</span><br />
<Hacknet />
<span>{`Augmentations installed: ${p.augmentations.length}`}</span><br /><br />
{StatsTable(timeRows, null)}
{StatsTable(timeRows)}
<br />
<CurrentBitNode />
</pre>