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

remove unnecessary text replacement (#1448)

Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
This commit is contained in:
claudiaHash 2022-05-23 17:47:43 +03:00 committed by GitHub
parent cb051f726b
commit d53ea3f187
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,13 +59,7 @@ export default function PublishPage({
...prevState['1'], ...prevState['1'],
status: 'active', status: 'active',
txCount: values.pricing.type === 'dynamic' ? 2 : 1, txCount: values.pricing.type === 'dynamic' ? 2 : 1,
description: description: prevState['1'].description
values.pricing.type === 'dynamic'
? prevState['1'].description.replace(
'a single transaction',
'a single transaction, after an initial approve transaction'
)
: prevState['1'].description
} }
})) }))