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

Correct query panel bug #763

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Correct query panel bug #763

merged 1 commit into from
Apr 18, 2024

Conversation

rtetley
Copy link
Collaborator

@rtetley rtetley commented Apr 18, 2024

When switching from a Locate, About, Check or Print to a Search, the panel would just dump because of a useEffect on the results array. This new guard will prevent trying to get length of an undefined.

When switching from a Locate, About, Check or Print to a Search, the panel would just dump
because of a useEffect on the results array. This new guard will prevent trying to
get length of an undefined.
@rtetley rtetley marked this pull request as ready for review April 18, 2024 12:31
@rtetley rtetley merged commit b137bd8 into main Apr 18, 2024
15 checks passed
@rtetley rtetley deleted the search-view-bug branch April 18, 2024 13:18
@rtetley rtetley mentioned this pull request Apr 24, 2024
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.

1 participant