correct text during the wrap/unwrap on the DEX tab

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-05-09 12:47:26 +03:00
parent 96d7465436
commit d3d1144985
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "ghost-dao-interface",
"private": true,
"version": "0.7.43",
"version": "0.7.44",
"type": "module",
"scripts": {
"dev": "vite",

View File

@ -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]);