1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

merge fix

This commit is contained in:
Matthias Kretschmann 2021-04-22 13:18:23 +02:00
parent df643e1fd8
commit 1f9f22cbc1
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -144,12 +144,7 @@ export default function Edit({
return ( return (
<Formik <Formik
initialValues={getInitialValues( initialValues={getInitialValues(metadata, timeout, price.value)}
metadata,
(ddo.findServiceByType('access') || ddo.findServiceByType('compute'))
.attributes.main.timeout,
price.value
)}
validationSchema={validationSchema} validationSchema={validationSchema}
onSubmit={async (values, { resetForm }) => { onSubmit={async (values, { resetForm }) => {
// move user's focus to top of screen // move user's focus to top of screen