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(() => { const handleNewPort = useCallback(() => {
formik.setFieldValue(`ports[${ports.length}]`, { formik.setFieldValue(`ports[${ports.length}]`, {
key: "", hostPort: "",
value: "" containerPort: "",
protocol: ""
}); });
}, [formik]); }, [formik]);

Loading…
Cancel
Save