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
In Vouch.tsx (lines 179-183), the handleDecline function uses setTimeout(() => r(), 600) to simulate declining a vouch request. No API call is made. The request visually disappears from the UI after 600ms but reappears on page refresh because the decline was never persisted.
User impact: Mentors believe they have declined vouch requests, but the requests keep reappearing. This creates confusion and undermines trust in the platform.
Root Cause
The decline action was stubbed during initial development. The API endpoint POST /vouching/decline or equivalent exists (vouching.controller.ts) but was never wired to the frontend.
What To Build
Add declineVouch(requestId) method to vouching.service.ts
Replace the setTimeout + fake decline in Vouch.tsx with real API call
Add loading spinner on the decline button while request is in flight
Add error toast if decline fails
Remove the declined request from local state on success
changed the title [-]fix: Vouch.tsx decline action uses setTimeout instead of real API call[/-][+]fix: Vouch.tsx handleDecline at lines 179-183 uses setTimeout(() => resolve(), 600) to simulate API call instead of sending real POST /vouching/decline — declined requests reappear on page refresh[/+]on Jul 2, 2026
changed the title [-]fix: Vouch.tsx handleDecline at lines 179-183 uses setTimeout(() => resolve(), 600) to simulate API call instead of sending real POST /vouching/decline — declined requests reappear on page refresh[/-][+]fix: send real decline request in Vouch page[/+]on Jul 2, 2026
Activity
[-]fix: Vouch.tsx decline action uses setTimeout instead of real API call[/-][+]fix: Vouch.tsx handleDecline at lines 179-183 uses setTimeout(() => resolve(), 600) to simulate API call instead of sending real POST /vouching/decline — declined requests reappear on page refresh[/+][-]fix: Vouch.tsx handleDecline at lines 179-183 uses setTimeout(() => resolve(), 600) to simulate API call instead of sending real POST /vouching/decline — declined requests reappear on page refresh[/-][+]fix: send real decline request in Vouch page[/+]prissca commentedon Jul 22, 2026
i will love to work on this issue
grantfox-oss commentedon Jul 22, 2026
🦊 GrantFox — @prissca has been assigned to this issue as part of the Official Campaign | FWC26 campaign!
Next steps:
Closes #66)Good luck! Track your progress on GrantFox.
grantfox-oss commentedon Sep 29, 2026
🎉 This issue has been marked as completed on GrantFox!
@prissca's PR #93 was approved and merged by @EmeditWeb.
🏆 @prissca: You earned 40 FoxPoints for this contribution! Your current tier: Builder (2,142 total points). Track your full progress on GrantFox.
👏 Great work, @prissca! Keep contributing to StepFi-app.
fix: send real decline request in Vouch page (closes StepFi-app#66) (S…