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",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.7.43",
|
"version": "0.7.44",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -149,7 +149,10 @@ const SwapContainer = ({
|
|||||||
else if (pairAddress === EMPTY_ADDRESS) text = "Create Pool";
|
else if (pairAddress === EMPTY_ADDRESS) text = "Create Pool";
|
||||||
|
|
||||||
if (isPending) text = `${text}ping...`
|
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;
|
return text;
|
||||||
}, [isPending, isWrapping, isUnwrapping, pairAddress]);
|
}, [isPending, isWrapping, isUnwrapping, pairAddress]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user