format+lint

This commit is contained in:
Snarling 2022-08-20 19:16:11 -04:00
parent 7578860ce7
commit 5466ab3f69
3 changed files with 2 additions and 10 deletions

@ -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: {