From d53ea3f187e96c279d53dc99fdf5c38f86a72b66 Mon Sep 17 00:00:00 2001 From: claudiaHash <49017601+claudiaHash@users.noreply.github.com> Date: Mon, 23 May 2022 17:47:43 +0300 Subject: [PATCH] remove unnecessary text replacement (#1448) Co-authored-by: ClaudiaHolhos --- src/components/Publish/index.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/Publish/index.tsx b/src/components/Publish/index.tsx index 9fed8f38e..53cdcdb3e 100644 --- a/src/components/Publish/index.tsx +++ b/src/components/Publish/index.tsx @@ -59,13 +59,7 @@ export default function PublishPage({ ...prevState['1'], status: 'active', txCount: values.pricing.type === 'dynamic' ? 2 : 1, - description: - values.pricing.type === 'dynamic' - ? prevState['1'].description.replace( - 'a single transaction', - 'a single transaction, after an initial approve transaction' - ) - : prevState['1'].description + description: prevState['1'].description } }))