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: Comments timestamp download infinite loop #2608

Merged
merged 2 commits into from
Sep 27, 2021

Conversation

amass01
Copy link
Member

@amass01 amass01 commented Sep 25, 2021

This diff fixes the infinite loop when attempting to download comments
timestamps results.

The bug originates in the following useMemo usage discussion:
#2549 (comment)


Closes #2606.

@amass01 amass01 marked this pull request as draft September 25, 2021 23:14
@amass01 amass01 changed the title fix: Timestamp downloads infinite loop fix: Comments timestamp download infinite loop Sep 25, 2021
@amass01 amass01 marked this pull request as ready for review September 25, 2021 23:24
@lukebp
Copy link
Member

lukebp commented Sep 26, 2021

Are there tests we can add for this?

Copy link
Member

@lukebp lukebp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK on firefox

It seems like the way to have prevented this bug is to have had e2e tests for all the downloads. Is that accurate?

@amass01
Copy link
Member Author

amass01 commented Sep 26, 2021

@lukebp that's correct, I guess we didn't because it might need some changes in the Dropdown component. I can give it a try.

@lukebp lukebp merged commit ed252e7 into decred:master Sep 27, 2021
@amass01 amass01 deleted the downloadbugs branch September 27, 2021 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timestamp downloads infinite loop
2 participants