Skip to content

Commit

Permalink
fix: correct FormImpl's displayName (#9606)
Browse files Browse the repository at this point in the history
* fix: correct FormImpl's displayName

* update contributors.yml
  • Loading branch information
KAROTT7 authored Nov 17, 2022
1 parent 0f9bc68 commit ed12019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
- jonkoops
- jrakotoharisoa
- kantuni
- KAROTT7
- kddnewton
- kentcdodds
- kiliman
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dom/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ const FormImpl = React.forwardRef<HTMLFormElement, FormImplProps>(
);

if (__DEV__) {
Form.displayName = "Form";
FormImpl.displayName = "FormImpl";
}

interface ScrollRestorationProps {
Expand Down

0 comments on commit ed12019

Please sign in to comment.