From d3d1144985523a8adafc20e6947dabd560fd3564 Mon Sep 17 00:00:00 2001 From: Uncle Fatso Date: Sat, 9 May 2026 12:47:26 +0300 Subject: [PATCH] correct text during the wrap/unwrap on the DEX tab Signed-off-by: Uncle Fatso --- package.json | 2 +- src/containers/Dex/SwapContainer.jsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7dbe5f3..e2e425e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ghost-dao-interface", "private": true, - "version": "0.7.43", + "version": "0.7.44", "type": "module", "scripts": { "dev": "vite", diff --git a/src/containers/Dex/SwapContainer.jsx b/src/containers/Dex/SwapContainer.jsx index ed67845..9f89b8b 100644 --- a/src/containers/Dex/SwapContainer.jsx +++ b/src/containers/Dex/SwapContainer.jsx @@ -149,7 +149,10 @@ const SwapContainer = ({ else if (pairAddress === EMPTY_ADDRESS) text = "Create Pool"; if (isPending) text = `${text}ping...` - if (pairAddress === EMPTY_ADDRESS && isPending) text = "Creating Pool..." + if ( + !(isWrapping || isUnwrapping) && + (pairAddress === EMPTY_ADDRESS && isPending) + ) text = "Creating Pool..." return text; }, [isPending, isWrapping, isUnwrapping, pairAddress]);