Skip to content

Conversation

@geodem127
Copy link
Contributor

@geodem127 geodem127 commented Aug 26, 2025

RCA:

  • fetchLeads didn't return values, breaking the promise chain.

FIX:

  • Added return sortedLeads and throw err in the action
  • Wrapped dispatch in Promise.resolve() to guarantee .finally exists

@geodem127 geodem127 linked an issue Aug 26, 2025 that may be closed by this pull request
@geodem127 geodem127 added the bug Something isn't working label Aug 26, 2025
@geodem127 geodem127 self-assigned this Aug 26, 2025
@shrunyan shrunyan merged commit 83f23cc into dev Sep 10, 2025
1 check failed
@shrunyan shrunyan deleted the fix/3515-Leads-TypeError-finally-is-not-a-function branch September 10, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: e.dispatch(...).finally is not a function

4 participants