Skip to content

Commit ed12019

Browse files
authored
fix: correct FormImpl's displayName (#9606)
* fix: correct FormImpl's displayName * update contributors.yml
1 parent 0f9bc68 commit ed12019

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
- jonkoops
6868
- jrakotoharisoa
6969
- kantuni
70+
- KAROTT7
7071
- kddnewton
7172
- kentcdodds
7273
- kiliman

packages/react-router-dom/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ const FormImpl = React.forwardRef<HTMLFormElement, FormImplProps>(
629629
);
630630

631631
if (__DEV__) {
632-
Form.displayName = "Form";
632+
FormImpl.displayName = "FormImpl";
633633
}
634634

635635
interface ScrollRestorationProps {

0 commit comments

Comments
 (0)