mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
Import changes
Just some import changes in a couple files.
This commit is contained in:
parent
b6eafce563
commit
fe0f8cad4d
@ -1,13 +1,14 @@
|
||||
import type { Division } from "../../Division";
|
||||
import type { Material } from "../../Material";
|
||||
|
||||
import React, { useState } from "react";
|
||||
import { dialogBoxCreate } from "../../../ui/React/DialogBox";
|
||||
import { Material } from "../../Material";
|
||||
import { SellMaterial } from "../../Actions";
|
||||
import { Button, FormControlLabel, Switch, TextField, Tooltip, Typography } from "@mui/material";
|
||||
import { Modal } from "../../../ui/React/Modal";
|
||||
import TextField from "@mui/material/TextField";
|
||||
import Button from "@mui/material/Button";
|
||||
import { dialogBoxCreate } from "../../../ui/React/DialogBox";
|
||||
|
||||
import { SellMaterial } from "../../Actions";
|
||||
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 {
|
||||
let val = mat.desiredSellPrice ? mat.desiredSellPrice + "" : "";
|
||||
if (mat.marketTa2) {
|
||||
|
@ -1,18 +1,14 @@
|
||||
import React, { useState } from "react";
|
||||
import { dialogBoxCreate } from "../../../ui/React/DialogBox";
|
||||
import { Product } from "../../Product";
|
||||
import { SellProduct } from "../../Actions";
|
||||
import { Modal } from "../../../ui/React/Modal";
|
||||
import type { CityName } from "@enums";
|
||||
import type { Division } from "../../Division";
|
||||
import type { Product } from "../../Product";
|
||||
|
||||
import Typography from "@mui/material/Typography";
|
||||
import TextField from "@mui/material/TextField";
|
||||
import Button from "@mui/material/Button";
|
||||
import FormControlLabel from "@mui/material/FormControlLabel";
|
||||
import Switch from "@mui/material/Switch";
|
||||
import Tooltip from "@mui/material/Tooltip";
|
||||
import React, { useState } from "react";
|
||||
import { Button, FormControlLabel, Switch, TextField, Tooltip, Typography } from "@mui/material";
|
||||
import { Modal } from "../../../ui/React/Modal";
|
||||
import { dialogBoxCreate } from "../../../ui/React/DialogBox";
|
||||
|
||||
import { SellProduct } from "../../Actions";
|
||||
import { KEY } from "../../../utils/helpers/keyCodes";
|
||||
import { CityName } from "@enums";
|
||||
import { Division } from "src/Corporation/Division";
|
||||
|
||||
function initialPrice(product: Product, city: CityName): string {
|
||||
let val = String(product.cityData[city].desiredSellPrice || "");
|
||||
|
Loading…
Reference in New Issue
Block a user