From c2dacedcb3ccc7091aba9d7d21c447663a35c562 Mon Sep 17 00:00:00 2001 From: Snarling <84951833+Snarling@users.noreply.github.com> Date: Fri, 16 Jun 2023 22:24:32 -0400 Subject: [PATCH] Fix UI regression for crime in progress (#621) --- src/ui/WorkInProgressRoot.tsx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/ui/WorkInProgressRoot.tsx b/src/ui/WorkInProgressRoot.tsx index 7f64832b1..8902438d0 100644 --- a/src/ui/WorkInProgressRoot.tsx +++ b/src/ui/WorkInProgressRoot.tsx @@ -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: [ - - - Success chance: ${formatPercent(successChance)} - - + + + Success chance: {formatPercent(successChance)} Gains (on success) - - , + + ,