Skip to content

Commit 12bd234

Browse files
committed
Revert "fix: Form static props are recognized as any in TS"
This reverts commit a8953c6.
1 parent 7bbb433 commit 12bd234

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Form.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,9 @@ class Form extends Component<IFormProps & { forwardedRef: any }> {
101101
}
102102
}
103103

104-
const HoistedForm = hoistNonReactStatics(
104+
export default hoistNonReactStatics(
105105
React.forwardRef<Formsy, IFormProps>((props: IFormProps, ref) => (
106106
<Form {...props} forwardedRef={ref} />
107107
)),
108108
Form
109109
);
110-
111-
export default HoistedForm;

0 commit comments

Comments
 (0)