mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43: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 { Box, Container, Paper, Table, TableBody, TableRow, TableCell, Tooltip } from "@mui/material";
|
||||
import Button from "@mui/material/Button";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import { Box, Button, Container, Paper, Table, TableBody, Tooltip, Typography } from "@mui/material";
|
||||
|
||||
import { Player } from "@player";
|
||||
import { FactionWorkType, LocationName } from "@enums";
|
||||
@ -220,14 +217,12 @@ export function WorkInProgressRoot(): React.ReactElement {
|
||||
title: `You are attempting ${crime.workName}`,
|
||||
|
||||
gains: [
|
||||
<TableRow key="header">
|
||||
<TableCell>
|
||||
<Typography>Success chance: ${formatPercent(successChance)}</Typography>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<tr key="header">
|
||||
<td>
|
||||
<Typography>Success chance: {formatPercent(successChance)}</Typography>
|
||||
<Typography>Gains (on success)</Typography>
|
||||
</TableCell>
|
||||
</TableRow>,
|
||||
</td>
|
||||
</tr>,
|
||||
<StatsRow key="money" name="Money:" color={Settings.theme.money}>
|
||||
<Typography>
|
||||
<Money money={gains.money} />
|
||||
|
Loading…
Reference in New Issue
Block a user