disable button during pending transaction status

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2025-08-21 16:27:31 +03:00
parent 5c7546b0d9
commit 5c3fa4d679
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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}