small
This commit is contained in:
@@ -23,8 +23,8 @@ const MainForm = () => {
|
|||||||
const [redirect, setRedirect] = useState(null);
|
const [redirect, setRedirect] = useState(null);
|
||||||
const { setMessage, setTitle, setSitePath } = useStatusContext();
|
const { setMessage, setTitle, setSitePath } = useStatusContext();
|
||||||
const [carModel, setCarModel] = useState("");
|
const [carModel, setCarModel] = useState("");
|
||||||
const [carYear, setCarYear] = useState(0);
|
const [carYear, setCarYear] = useState();
|
||||||
const [flashpack, setFlashpack] = useState("");
|
const [flashpack, setFlashpack] = useState();
|
||||||
const [mappingInputs, setMappingInputs] = useState([{ ecuName: "", ecuVersion: "" }]);
|
const [mappingInputs, setMappingInputs] = useState([{ ecuName: "", ecuVersion: "" }]);
|
||||||
const {
|
const {
|
||||||
addFlashpackVersion,
|
addFlashpackVersion,
|
||||||
@@ -159,7 +159,7 @@ const MainForm = () => {
|
|||||||
fullWidth
|
fullWidth
|
||||||
value={flashpack}
|
value={flashpack}
|
||||||
onChange={onFlashpackChange}
|
onChange={onFlashpackChange}
|
||||||
type="text"
|
type="number"
|
||||||
/>
|
/>
|
||||||
<div className="container">
|
<div className="container">
|
||||||
{mappingInputs.map((item, index) => (
|
{mappingInputs.map((item, index) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user