Skip to content

BatchPayModal "Pay All" button stays enabled when wallet is disconnected #596

Description

@Kingsman-99

Description

The "Pay All" button in BatchPayModal remains clickable even when no wallet is connected. Clicking it attempts to submit a transaction and throws an unhandled error instead of showing a friendly prompt to connect a wallet first.

Acceptance Criteria

  • "Pay All" is disabled when useWallet reports no connected wallet
  • A tooltip on the disabled button reads "Connect your wallet to continue"
  • Once a wallet is connected the button becomes enabled
  • Existing tests continue to pass

Context

  • Target file: src/components/BatchPayModal.tsx
  • Hook: src/hooks/useWallet.ts

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions