Skip to content

Conversation

@Dropheart
Copy link

The affected useEffect() updated riskTableRows which was a dependent of the effect. This change prevents the effect from forever looping, causing several rerenders a second.

There may be a better way to fix this but I'm not familiar with the business logic of the program, this is just a quick fix before we properly look at the code.

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