Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: calculate index of last message #932

Merged
merged 2 commits into from
Jun 2, 2024
Merged

Conversation

codedealer
Copy link
Contributor

Fixed discrepancy between what messages are rendered on the page and how last message's index is calculated. The new version uses the same array (memo) and is rewritten to avoid reducing over the whole array.

Closes #931
Closes #775 (needs testing but it should be the same problem)

@sceuick sceuick merged commit 484a490 into agnaistic:dev Jun 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants