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(home): render rotating links only if we have some #1383

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

LoneRifle
Copy link
Contributor

Problem

As exposed by the flakiness in e2e tests, react-typed has undefined behaviour if it receives an empty array of strings. This causes the frontend to throw spurious errors.

Supersedes #1382 , which has further background

Solution

Render the react-typed component only if we have an non-empty array of strings

@LoneRifle LoneRifle requested a review from yong-jie April 8, 2021 03:32
@yong-jie yong-jie merged commit 5a06719 into develop Apr 8, 2021
@yong-jie yong-jie deleted the fix/home/rotating-links branch April 8, 2021 03:47
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.

2 participants