Skip to content

Commit

Permalink
Fix deprecated type in React 18 (#3547)
Browse files Browse the repository at this point in the history
Replace StatelessComponent by FunctionComponent in withFormik.tsx
fix #3546 

PR to solve the problem with the removed type in react 18
I saw that you have a build/types branch, but it hasn't changed since 2020, so I did the direct PR in master
  • Loading branch information
alaanescobedo authored Sep 2, 2023
1 parent 0e476bd commit da58b29
Showing 0 changed files with 0 additions and 0 deletions.

1 comment on commit da58b29

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.10.

Benchmark suite Current: da58b29 Previous: 5c01ee7 Ratio
formik (simple example) 8979 ops/sec (±5.47%) 10090 ops/sec (±5.69%) 1.12
react hook form (simple example) 8149 ops/sec (±4.53%) 9624 ops/sec (±3.13%) 1.18

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.