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: metrics auto-refresh when a query is executed #42

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

diegoreis42
Copy link
Collaborator

@diegoreis42 diegoreis42 commented Oct 29, 2024

This pull request includes changes to the CqlEditor component to improve its rendering logic, specifically by forcing re-renders when the query is executed. The key updates involve introducing a new state variable and utilizing the useCallback hook for rendering.

Rendering improvements:

Copy link
Contributor

@DanielHe4rt DanielHe4rt left a comment

Choose a reason for hiding this comment

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

Tested! LGTM!

@DanielHe4rt DanielHe4rt merged commit 256bd03 into main Oct 29, 2024
3 checks passed
@DanielHe4rt DanielHe4rt deleted the fix/query-refresh branch October 29, 2024 16:04
@Daniel-Boll Daniel-Boll added the hacktoberfest-accepted Hacktoberfest-able PR label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Hacktoberfest-able PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants