Closed piotrpospiech closed 4 months ago
Attention: Patch coverage is 58.33333%
with 5 lines
in your changes are missing coverage. Please review.
Project coverage is 94.43%. Comparing base (
4b3f109
) to head (e76fe3d
).
Files | Patch % | Lines |
---|---|---|
packages/uniforms/src/BaseForm.tsx | 58.33% | 0 Missing and 5 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This fixes https://github.com/vazco/uniforms/issues/1194.
Overriding
setState
caused this issue. I removed it and added checking if the component is mounted before callingsetState
.Tested with Vite, React
v18.2.0
and Strict Mode.