KamoCRM

The saved-audience estimate takes the hook's null selection

Fixkamo-internal
Shipped
November 11, 2026 at 10:11 AM UTC
Author
Kamo
Commit
21769ff

useAudienceEstimates hands its fetcher null for nothing chosen yet, and AudienceCard and AudienceEditor pass audienceApi.estimate as that fetcher, which only took a selection: the build failed type-checking, and a null would have thrown inside cleanSelection. Null now reads as the empty selection.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing