mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +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 { CONSTANTS } from "../Constants";
|
||||||
import { IMap } from "../types";
|
import { IMap } from "../types";
|
||||||
import { EventEmitter } from "../utils/EventEmitter";
|
|
||||||
|
|
||||||
import { numeralWrapper } from "../ui/numeralFormat";
|
import { numeralWrapper } from "../ui/numeralFormat";
|
||||||
|
|
||||||
|
@ -28,9 +28,7 @@ export function StockMarketRoot(props: IProps): React.ReactElement {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<InfoAndPurchases p={props.p} rerender={rerender} />
|
<InfoAndPurchases p={props.p} rerender={rerender} />
|
||||||
{props.p.hasWseAccount && (
|
{props.p.hasWseAccount && <StockTickers p={props.p} stockMarket={props.stockMarket} />}
|
||||||
<StockTickers p={props.p} stockMarket={props.stockMarket} />
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -435,12 +435,7 @@ export function GameRoot({ player, engine, terminal }: IProps): React.ReactEleme
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Page.StockMarket: {
|
case Page.StockMarket: {
|
||||||
mainPage = (
|
mainPage = <StockMarketRoot p={player} stockMarket={StockMarket} />;
|
||||||
<StockMarketRoot
|
|
||||||
p={player}
|
|
||||||
stockMarket={StockMarket}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Page.City: {
|
case Page.City: {
|
||||||
|
Loading…
Reference in New Issue
Block a user