Skip to content

Conversation

@dsowinski2
Copy link
Member

No description provided.

@dsowinski2 dsowinski2 self-assigned this Nov 21, 2025
@rafalcymerys
Copy link
Member

@dsowinski2 could you elaborate a bit on this one? It's not clear to me what's the purpose of this change

@dsowinski2
Copy link
Member Author

@dsowinski2 could you elaborate a bit on this one? It's not clear to me what's the purpose of this change

Sure! There was function 'reserForm' included in dependency array of useEffect, which in fact called resetForm function inside. So that created infinite loop, producing errors in console. It's not needed here as we should only reset form if it's open/closed

@rafalcymerys
Copy link
Member

@dsowinski2 could you elaborate a bit on this one? It's not clear to me what's the purpose of this change

Sure! There was function 'reserForm' included in dependency array of useEffect, which in fact called resetForm function inside. So that created infinite loop, producing errors in console. It's not needed here as we should only reset form if it's open/closed

Do you have any steps to reproduce? I'm trying to understand where this is coming from and why we haven't seen it while testing.

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.

3 participants