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",
"private": true,
"version": "0.2.10",
"version": "0.2.11",
"type": "module",
"scripts": {
"dev": "vite",

View File

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