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
Dispenser Stats Not Showing in the Wallet page on the live stampchain site and in the updated PR with WalletProfileDetails
Description
The dispenser statistics (open/closed/total) are not being displayed correctly in the WalletProfileDetails component. All values are showing as 0 when there should be active dispensers.
Expected Behavior
open: Number of dispensers opened by address with give_remaining > 0
closed: Number of dispensers opened by address with give_remaining === 0
total: Total count of all dispensers opened by address (open + closed)
Dispenser Stats Not Showing in the Wallet page on the live stampchain site and in the updated PR with WalletProfileDetails
Description
The dispenser statistics (open/closed/total) are not being displayed correctly in the WalletProfileDetails component. All values are showing as 0 when there should be active dispensers.
Expected Behavior
open
: Number of dispensers opened by address withgive_remaining > 0
closed
: Number of dispensers opened by address withgive_remaining === 0
total
: Total count of all dispensers opened by address (open + closed)Current Behavior
All values are showing as 0 in the UI:
Investigation Steps
Added console logs throughout the data flow:
[address].tsx
)getDispensersWithStampsByAddress
)getDispensersByAddress
)Verified the endpoint construction:
/addresses/${address}/dispensers
Data flow appears to break somewhere between:
Potential Issues
fetchXcpV2WithCache
Proposed Solution
Technical Details
Current Implementation:
Related Components
WalletProfileDetails.tsx
StampController.ts
DispenserManager.ts
[address].tsx
routeAdditional Context
Next Steps
/label bug data-flow api
/priority high
The text was updated successfully, but these errors were encountered: