This commit is contained in:
Olivier Gagnon 2021-09-30 18:57:44 -04:00
parent 73d0dd98f2
commit f701cbffa7
2 changed files with 1 additions and 5 deletions

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