mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
lint
This commit is contained in:
parent
73d0dd98f2
commit
f701cbffa7
@ -21,7 +21,6 @@ import { numeralWrapper } from "../../ui/numeralFormat";
|
||||
import { Money } from "../../ui/React/Money";
|
||||
|
||||
import { dialogBoxCreate } from "../../ui/React/DialogBox";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Box from "@mui/material/Box";
|
||||
import TextField from "@mui/material/TextField";
|
||||
import MenuItem from "@mui/material/MenuItem";
|
||||
@ -76,7 +75,7 @@ export function StockTicker(props: IProps): React.ReactElement {
|
||||
}>({
|
||||
text: "",
|
||||
placeText: "",
|
||||
place: (n: number) => false,
|
||||
place: () => false,
|
||||
});
|
||||
|
||||
function getBuyTransactionCostContent(): JSX.Element | null {
|
||||
|
@ -40,7 +40,6 @@ type IProps = {
|
||||
export function StockTickers(props: IProps): React.ReactElement {
|
||||
const setRerender = useState(false)[1];
|
||||
const [tickerDisplayMode, setTickerDisplayMode] = useState(TickerDisplayMode.AllStocks);
|
||||
const [watchlistFilter, setWatchlistFilter] = useState("");
|
||||
const [watchlistSymbols, setWatchlistSymbols] = useState<string[]>([]);
|
||||
|
||||
function changeDisplayMode(): void {
|
||||
@ -55,8 +54,6 @@ export function StockTickers(props: IProps): React.ReactElement {
|
||||
const watchlist = e.target.value;
|
||||
const sanitizedWatchlist = watchlist.replace(/\s/g, "");
|
||||
|
||||
setWatchlistFilter(watchlist);
|
||||
|
||||
if (sanitizedWatchlist !== "") {
|
||||
setWatchlistSymbols(sanitizedWatchlist.split(","));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user