CEC-749 Fix types (#144)

This commit is contained in:
John Wu
2022-04-19 09:38:30 -07:00
committed by GitHub
parent 77d75c621d
commit 0fd2cf6dba
3 changed files with 13 additions and 13 deletions

View File

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