Skip to content

Commit 58f538f

Browse files
committed
remove unnecessary code.
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
1 parent bb84273 commit 58f538f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/components/Form/FormProvider.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ function FormProvider(
115115
shouldRenderFooterAboveSubmit = false,
116116
shouldUseStrictHtmlTagValidation = false,
117117
shouldPreventDefaultFocusOnPressSubmit = false,
118-
enterKeyEventListenerPriority = 1,
119118
...rest
120119
}: FormProviderProps,
121120
forwardedRef: ForwardedRef<FormRef>,
@@ -460,7 +459,6 @@ function FormProvider(
460459
enabledWhenOffline={enabledWhenOffline}
461460
shouldRenderFooterAboveSubmit={shouldRenderFooterAboveSubmit}
462461
shouldPreventDefaultFocusOnPressSubmit={shouldPreventDefaultFocusOnPressSubmit}
463-
enterKeyEventListenerPriority={enterKeyEventListenerPriority}
464462
>
465463
{typeof children === 'function' ? children({inputValues}) : children}
466464
</FormWrapper>

0 commit comments

Comments
 (0)