bug: Swap button active when wallet not connected #6

Closed
opened 2026-03-12 02:41:29 +00:00 by Brouie · 13 comments
Brouie commented 2026-03-12 02:41:29 +00:00 (Migrated from gitlab.com)

Swap button shows as active/clickable even when wallet is not connected. Message below says 'Wallet not connected. Please connect your wallet first.' but the button should either be disabled or say 'Connect Wallet' instead of 'Swap'.

Swap button shows as active/clickable even when wallet is not connected. Message below says 'Wallet not connected. Please connect your wallet first.' but the button should either be disabled or say 'Connect Wallet' instead of 'Swap'.
Brouie commented 2026-03-12 03:25:07 +00:00 (Migrated from gitlab.com)

mentioned in issue #1

mentioned in issue #1
PlasticDigits commented 2026-03-12 07:00:20 +00:00 (Migrated from gitlab.com)

mentioned in commit f5cca9c42e

mentioned in commit f5cca9c42e08f4a5e77a122a94ebadbbdc07f377
PlasticDigits commented 2026-03-12 07:07:19 +00:00 (Migrated from gitlab.com)

Fix committed in f5cca9c: the Swap button now uses getConnectedWallet() as the source of truth for wallet connection state instead of the store's address, which could be stale when the extension locks or disconnects. When the wallet is not connected, the button shows "Connect Wallet" and is disabled.

@Brouie Could you verify this resolves the issue on your side?

Fix committed in `f5cca9c`: the Swap button now uses `getConnectedWallet()` as the source of truth for wallet connection state instead of the store's `address`, which could be stale when the extension locks or disconnects. When the wallet is not connected, the button shows "Connect Wallet" and is disabled. @Brouie Could you verify this resolves the issue on your side?
Brouie (Migrated from gitlab.com) closed this issue 2026-03-13 01:56:32 +00:00
Brouie commented 2026-03-13 01:56:33 +00:00 (Migrated from gitlab.com)

Verified fixed — swap button now disabled when wallet not connected.

Verified fixed — swap button now disabled when wallet not connected.
Brouie commented 2026-03-13 04:22:44 +00:00 (Migrated from gitlab.com)

mentioned in issue #18

mentioned in issue #18
PlasticDigits commented 2026-06-05 10:07:06 +00:00 (Migrated from gitlab.com)

mentioned in merge request !788

mentioned in merge request !788
PlasticDigits commented 2026-06-05 10:07:13 +00:00 (Migrated from gitlab.com)

mentioned in issue #321

mentioned in issue #321
PlasticDigits commented 2026-08-09 06:51:36 +00:00 (Migrated from gitlab.com)

mentioned in merge request !1045

mentioned in merge request !1045
PlasticDigits commented 2026-08-25 06:08:50 +00:00 (Migrated from gitlab.com)

mentioned in issue #509

mentioned in issue #509
PlasticDigits commented 2026-08-25 06:08:50 +00:00 (Migrated from gitlab.com)

mentioned in issue #510

mentioned in issue #510
PlasticDigits commented 2026-08-25 06:08:51 +00:00 (Migrated from gitlab.com)

mentioned in issue #511

mentioned in issue #511
PlasticDigits commented 2026-08-25 06:08:53 +00:00 (Migrated from gitlab.com)

mentioned in issue #588

mentioned in issue #588
PlasticDigits commented 2026-08-25 06:08:59 +00:00 (Migrated from gitlab.com)

mentioned in issue #637

mentioned in issue #637
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic#6
No description provided.