mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 06:03:50 +01:00
format+lint
This commit is contained in:
parent
7578860ce7
commit
5466ab3f69
@ -11,7 +11,6 @@ import { StockSymbols } from "./data/StockSymbols";
|
||||
|
||||
import { CONSTANTS } from "../Constants";
|
||||
import { IMap } from "../types";
|
||||
import { EventEmitter } from "../utils/EventEmitter";
|
||||
|
||||
import { numeralWrapper } from "../ui/numeralFormat";
|
||||
|
||||
|
@ -28,9 +28,7 @@ export function StockMarketRoot(props: IProps): React.ReactElement {
|
||||
return (
|
||||
<>
|
||||
<InfoAndPurchases p={props.p} rerender={rerender} />
|
||||
{props.p.hasWseAccount && (
|
||||
<StockTickers p={props.p} stockMarket={props.stockMarket} />
|
||||
)}
|
||||
{props.p.hasWseAccount && <StockTickers p={props.p} stockMarket={props.stockMarket} />}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
@ -435,12 +435,7 @@ export function GameRoot({ player, engine, terminal }: IProps): React.ReactEleme
|
||||
break;
|
||||
}
|
||||
case Page.StockMarket: {
|
||||
mainPage = (
|
||||
<StockMarketRoot
|
||||
p={player}
|
||||
stockMarket={StockMarket}
|
||||
/>
|
||||
);
|
||||
mainPage = <StockMarketRoot p={player} stockMarket={StockMarket} />;
|
||||
break;
|
||||
}
|
||||
case Page.City: {
|
||||
|
Loading…
Reference in New Issue
Block a user