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

refactor into proper function components, otherwise we would not be allowed to use hooks in those functions if they just return JSX without being a component. #4000

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

Simon-Laux
Copy link
Member

fixes #3945

@Simon-Laux Simon-Laux added the bug Something isn't working label Jul 1, 2024
…llowed to use hooks in those functions if they just return JSX without being a component.

fixes #3945
@Simon-Laux Simon-Laux force-pushed the simon/i3945-fix-react-hook-rule-crash branch from 6402897 to ca1dfcb Compare July 1, 2024 20:15
Copy link
Collaborator

@WofWca WofWca left a comment

Choose a reason for hiding this comment

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

Changes make sense, though did not check if the bug is fixed.

@Simon-Laux Simon-Laux merged commit 2c99028 into main Jul 3, 2024
2 of 6 checks passed
@Simon-Laux Simon-Laux deleted the simon/i3945-fix-react-hook-rule-crash branch July 3, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants