diff --git a/src/components/Publish/Steps.tsx b/src/components/Publish/Steps.tsx index c35d6a260..ece8d4607 100644 --- a/src/components/Publish/Steps.tsx +++ b/src/components/Publish/Steps.tsx @@ -30,9 +30,10 @@ export function Steps({ useEffect(() => { if (!chainId) return - // Reset the pricing values on chainId change - // the user needs to update the pricing schema on network changes - if (values.pricing.price) { + // Reset the pricing values on chainId change: + // - the user needs to update the pricing schema on network changes + // - if the tx has been started, don't restore pricing values + if (values.pricing.price && values.feedback[1].status === 'pending') { setFieldValue('pricing', initialValues.pricing) router.push(`/publish/3`) }