mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
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
This commit is contained in:
parent
ea0be338e1
commit
64dea97e3c
@ -6,7 +6,6 @@ import { Terminal } from "../Terminal";
|
|||||||
import { SpecialServers } from "../Server/data/SpecialServers";
|
import { SpecialServers } from "../Server/data/SpecialServers";
|
||||||
import { Money } from "../ui/React/Money";
|
import { Money } from "../ui/React/Money";
|
||||||
import { DarkWebItem } from "./DarkWebItem";
|
import { DarkWebItem } from "./DarkWebItem";
|
||||||
import Typography from "@mui/material/Typography";
|
|
||||||
|
|
||||||
//Posts a "help" message if connected to DarkWeb
|
//Posts a "help" message if connected to DarkWeb
|
||||||
export function checkIfConnectedToDarkweb(): void {
|
export function checkIfConnectedToDarkweb(): void {
|
||||||
@ -31,9 +30,9 @@ export function listAllDarkwebItems(): void {
|
|||||||
);
|
);
|
||||||
|
|
||||||
Terminal.printRaw(
|
Terminal.printRaw(
|
||||||
<Typography>
|
<>
|
||||||
<span>{item.program}</span> - <span>{cost}</span> - <span>{item.description}</span>
|
<span>{item.program}</span> - <span>{cost}</span> - <span>{item.description}</span>
|
||||||
</Typography>,
|
</>,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user