Skip to content

Conversation

lunaruan
Copy link
Contributor

@lunaruan lunaruan commented May 4, 2022

Perhaps addresses #24441


If elementIndicesWithErrorsOrWarnings is empty, we shouldn't set the selectedElementId or the selectedElementIndex to the previous entry because there is no previous entry.

@lunaruan lunaruan requested review from bvaughn and eps1lon May 4, 2022 21:54
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels May 4, 2022
@lunaruan lunaruan requested a review from mondaychen May 4, 2022 21:55
@lunaruan
Copy link
Contributor Author

lunaruan commented May 5, 2022

#24501 does the same thing

@lunaruan lunaruan closed this May 5, 2022
@bvaughn
Copy link
Contributor

bvaughn commented May 5, 2022

Oh sorry! I didn’t see this or I wouldn’t have posted my PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants