mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Fix UI regression for crime in progress (#621)
This commit is contained in:
parent
a4b826683e
commit
c2dacedcb3
@ -1,8 +1,5 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
|
import { Box, Button, Container, Paper, Table, TableBody, Tooltip, Typography } from "@mui/material";
|
||||||
import { Box, Container, Paper, Table, TableBody, TableRow, TableCell, Tooltip } from "@mui/material";
|
|
||||||
import Button from "@mui/material/Button";
|
|
||||||
import Typography from "@mui/material/Typography";
|
|
||||||
|
|
||||||
import { Player } from "@player";
|
import { Player } from "@player";
|
||||||
import { FactionWorkType, LocationName } from "@enums";
|
import { FactionWorkType, LocationName } from "@enums";
|
||||||
@ -220,14 +217,12 @@ export function WorkInProgressRoot(): React.ReactElement {
|
|||||||
title: `You are attempting ${crime.workName}`,
|
title: `You are attempting ${crime.workName}`,
|
||||||
|
|
||||||
gains: [
|
gains: [
|
||||||
<TableRow key="header">
|
<tr key="header">
|
||||||
<TableCell>
|
<td>
|
||||||
<Typography>Success chance: ${formatPercent(successChance)}</Typography>
|
<Typography>Success chance: {formatPercent(successChance)}</Typography>
|
||||||
</TableCell>
|
|
||||||
<TableCell>
|
|
||||||
<Typography>Gains (on success)</Typography>
|
<Typography>Gains (on success)</Typography>
|
||||||
</TableCell>
|
</td>
|
||||||
</TableRow>,
|
</tr>,
|
||||||
<StatsRow key="money" name="Money:" color={Settings.theme.money}>
|
<StatsRow key="money" name="Money:" color={Settings.theme.money}>
|
||||||
<Typography>
|
<Typography>
|
||||||
<Money money={gains.money} />
|
<Money money={gains.money} />
|
||||||
|
Loading…
Reference in New Issue
Block a user