Hacking factions no longer have hacking level requirements since the servers they need to hack already have requirements, formatting and styling in sleeves.

This commit is contained in:
Olivier Gagnon
2021-03-15 23:40:28 -04:00
parent 4892f0bd79
commit 3ec54bcdd8
4 changed files with 114 additions and 45 deletions
@@ -0,0 +1,20 @@
import * as React from "react";
export function EarningsTableElement(title: string, stats: any[][]): React.ReactElement {
return (<>
{title}
<table>
<tbody>
{stats.map((stat: any[], i: number) => <tr key={i}>
{stat.map((s: any, i: number) => {
let style = {};
if(i !== 0) {
style = {textAlign: "right"};
}
return <td style={style} key={i}>{s}</td>
})}
</tr>)}
</tbody>
</table>
</>)
}