From 64dea97e3c166e78d9c9158c81754619c0e8f2ae Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 22 Dec 2021 13:27:06 +0000 Subject: [PATCH] fix(command:buy) don't wrap in typography Warpping the output in typography inserts a newline before/after, this fine until timestamps are enabled and the components don't fall inline, and the typography newline is then visible. Resolves danielyxie/bitburner#2108 --- src/DarkWeb/DarkWeb.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/DarkWeb/DarkWeb.tsx b/src/DarkWeb/DarkWeb.tsx index 9422e0b04..a165bdda0 100644 --- a/src/DarkWeb/DarkWeb.tsx +++ b/src/DarkWeb/DarkWeb.tsx @@ -6,7 +6,6 @@ import { Terminal } from "../Terminal"; import { SpecialServers } from "../Server/data/SpecialServers"; import { Money } from "../ui/React/Money"; import { DarkWebItem } from "./DarkWebItem"; -import Typography from "@mui/material/Typography"; //Posts a "help" message if connected to DarkWeb export function checkIfConnectedToDarkweb(): void { @@ -31,9 +30,9 @@ export function listAllDarkwebItems(): void { ); Terminal.printRaw( - + <> {item.program} - {cost} - {item.description} - , + , ); } }