You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transaction-building logic is currently spread across multiple components (Overview, Buildings). Each independently resolves the binding ID, builds PTBs, and handles results. This led to a critical bug where the binding ID wasn't loaded correctly in one place, causing Apply to create duplicate bindings.
Proposed solution
Create a single TransactionService or useTransactions hook that:
Owns the binding ID resolution (single source of truth)
Validates binding ID exists before any transaction
Summary
Transaction-building logic is currently spread across multiple components (Overview, Buildings). Each independently resolves the binding ID, builds PTBs, and handles results. This led to a critical bug where the binding ID wasn't loaded correctly in one place, causing Apply to create duplicate bindings.
Proposed solution
Create a single
TransactionServiceoruseTransactionshook that:install(),updateUrl(),applyPolicies(),addToBlocklist(),removeFromBlocklist()Benefits
🤖 Generated with Claude Code