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",
|
||||
"private": true,
|
||||
"version": "0.2.10",
|
||||
"version": "0.2.11",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
@ -557,7 +557,7 @@ const Bridge = ({ chainId, address, config, connect }) => {
|
||||
<PrimaryButton
|
||||
fullWidth
|
||||
disabled={
|
||||
address === "" || gatekeeperAddressEmpty || !convertedReceiver ||
|
||||
isPending || address === "" || gatekeeperAddressEmpty || !convertedReceiver ||
|
||||
preparedAmount === 0n || ghstBalance._value < preparedAmount
|
||||
}
|
||||
loading={isPending}
|
||||
|
Loading…
Reference in New Issue
Block a user