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
<Insights entry_ids={[entry.id]} /> is re-rendered (entry_ids is changed)
useEffect(...., [entry_ids]) is debounced a bit, then triggers a re-fetch of insights_get_request
But there seems to be some sort of race-condition, because if you get into an entry too fast, or create an entry while something else is happening, then the "Summaries & Themes" insight (and maybe the other insights for that matter, just that Summaries & Themes is most obvious) either (a) remains unchanged (prior results); or (b) is blank, indicating the user doesn't have enough entries.
When an entry is clicked, it goes:
<Insights entry_ids={[entry.id]} />
is re-rendered (entry_ids is changed)useEffect(...., [entry_ids])
is debounced a bit, then triggers a re-fetch ofinsights_get_request
But there seems to be some sort of race-condition, because if you get into an entry too fast, or create an entry while something else is happening, then the "Summaries & Themes" insight (and maybe the other insights for that matter, just that Summaries & Themes is most obvious) either (a) remains unchanged (prior results); or (b) is blank, indicating the user doesn't have enough entries.
Investigate
op: "update"
changes like in here 0f8bb1a#diff-e8230420a204b9ff8677465015eccb5102d4495fbf839542902395002aeef8ceR174, which fixed similar problemsThe text was updated successfully, but these errors were encountered: