fix(frontend): fixed incorrect initial value for new port record

pull/75/head
Samuel Rowe 3 years ago
parent d5720a7bff
commit 9a262d67a4

@ -57,8 +57,9 @@ const General = () => {
const handleNewPort = useCallback(() => {
formik.setFieldValue(`ports[${ports.length}]`, {
key: "",
value: ""
hostPort: "",
containerPort: "",
protocol: ""
});
}, [formik]);

Loading…
Cancel
Save