disable button during pending transaction status
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
5c7546b0d9
commit
5c3fa4d679
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-dao-interface",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.2.10",
|
"version": "0.2.11",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
@ -557,7 +557,7 @@ const Bridge = ({ chainId, address, config, connect }) => {
|
|||||||
<PrimaryButton
|
<PrimaryButton
|
||||||
fullWidth
|
fullWidth
|
||||||
disabled={
|
disabled={
|
||||||
address === "" || gatekeeperAddressEmpty || !convertedReceiver ||
|
isPending || address === "" || gatekeeperAddressEmpty || !convertedReceiver ||
|
||||||
preparedAmount === 0n || ghstBalance._value < preparedAmount
|
preparedAmount === 0n || ghstBalance._value < preparedAmount
|
||||||
}
|
}
|
||||||
loading={isPending}
|
loading={isPending}
|
||||||
|
Loading…
Reference in New Issue
Block a user