Skip to content

Commit

Permalink
fix button disabled (osmosis-labs#3222)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonator authored May 7, 2024
1 parent b696923 commit 09e14c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/components/swap-tool/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -918,9 +918,9 @@ export const SwapTool: FunctionComponent<SwapToolProps> = observer(
<Button
disabled={
isWalletLoading ||
!Boolean(swapState.quote) ||
(account?.walletStatus === WalletStatus.Connected &&
(swapState.inAmountInput.isEmpty ||
!Boolean(swapState.quote) ||
Boolean(swapState.error) ||
account?.txTypeInProgress !== ""))
}
Expand Down

0 comments on commit 09e14c6

Please sign in to comment.