Import changes

Just some import changes in a couple files.
This commit is contained in:
omuretsu 2023-09-12 05:38:25 -04:00
parent b6eafce563
commit fe0f8cad4d
2 changed files with 17 additions and 20 deletions

@ -1,13 +1,14 @@
import type { Division } from "../../Division";
import type { Material } from "../../Material";
import React, { useState } from "react"; import React, { useState } from "react";
import { dialogBoxCreate } from "../../../ui/React/DialogBox"; import { Button, FormControlLabel, Switch, TextField, Tooltip, Typography } from "@mui/material";
import { Material } from "../../Material";
import { SellMaterial } from "../../Actions";
import { Modal } from "../../../ui/React/Modal"; import { Modal } from "../../../ui/React/Modal";
import TextField from "@mui/material/TextField"; import { dialogBoxCreate } from "../../../ui/React/DialogBox";
import Button from "@mui/material/Button";
import { SellMaterial } from "../../Actions";
import { KEY } from "../../../utils/helpers/keyCodes"; import { KEY } from "../../../utils/helpers/keyCodes";
import { Typography, FormControlLabel, Switch, Tooltip } from "@mui/material";
import { Division } from "src/Corporation/Division";
function initialPrice(mat: Material): string { function initialPrice(mat: Material): string {
let val = mat.desiredSellPrice ? mat.desiredSellPrice + "" : ""; let val = mat.desiredSellPrice ? mat.desiredSellPrice + "" : "";
if (mat.marketTa2) { if (mat.marketTa2) {

@ -1,18 +1,14 @@
import React, { useState } from "react"; import type { CityName } from "@enums";
import { dialogBoxCreate } from "../../../ui/React/DialogBox"; import type { Division } from "../../Division";
import { Product } from "../../Product"; import type { Product } from "../../Product";
import { SellProduct } from "../../Actions";
import { Modal } from "../../../ui/React/Modal";
import Typography from "@mui/material/Typography"; import React, { useState } from "react";
import TextField from "@mui/material/TextField"; import { Button, FormControlLabel, Switch, TextField, Tooltip, Typography } from "@mui/material";
import Button from "@mui/material/Button"; import { Modal } from "../../../ui/React/Modal";
import FormControlLabel from "@mui/material/FormControlLabel"; import { dialogBoxCreate } from "../../../ui/React/DialogBox";
import Switch from "@mui/material/Switch";
import Tooltip from "@mui/material/Tooltip"; import { SellProduct } from "../../Actions";
import { KEY } from "../../../utils/helpers/keyCodes"; import { KEY } from "../../../utils/helpers/keyCodes";
import { CityName } from "@enums";
import { Division } from "src/Corporation/Division";
function initialPrice(product: Product, city: CityName): string { function initialPrice(product: Product, city: CityName): string {
let val = String(product.cityData[city].desiredSellPrice || ""); let val = String(product.cityData[city].desiredSellPrice || "");