CEC-749 Fix types (#144)
This commit is contained in:
@@ -14,7 +14,7 @@ import { CertTypes } from "../../Contexts/CertificateContext";
|
||||
const CreateForm = ({ onCreate, busy }) => {
|
||||
const classes = useStyles();
|
||||
const vinEl = useRef(null);
|
||||
const [certType, setCertType] = useState(CertTypes.TREX);
|
||||
const [certType, setCertType] = useState(CertTypes.TBOX);
|
||||
|
||||
const onSubmit = async (event) => {
|
||||
event.preventDefault();
|
||||
@@ -56,14 +56,14 @@ const CreateForm = ({ onCreate, busy }) => {
|
||||
margin="normal"
|
||||
>
|
||||
<FormControlLabel
|
||||
value={CertTypes.TREX}
|
||||
value={CertTypes.TBOX}
|
||||
control={<Radio />}
|
||||
label="TREX"
|
||||
label="TBOX"
|
||||
/>
|
||||
<FormControlLabel
|
||||
value={CertTypes.HMI}
|
||||
value={CertTypes.ICC}
|
||||
control={<Radio />}
|
||||
label="HMI"
|
||||
label="ICC"
|
||||
/>
|
||||
<FormControlLabel
|
||||
value={CertTypes.Charging}
|
||||
|
||||
Reference in New Issue
Block a user