correct text during the wrap/unwrap on the DEX tab
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
96d7465436
commit
d3d1144985
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ghost-dao-interface",
|
||||
"private": true,
|
||||
"version": "0.7.43",
|
||||
"version": "0.7.44",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@ -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]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user