Skip to content

Commit

Permalink
fix: lint + prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictb committed Aug 28, 2024
1 parent d020ea5 commit 184e5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Form/FormProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function FormProvider(
onSubmit(trimmedStringValues);
}, [enabledWhenOffline, formState?.isLoading, inputValues, network?.isOffline, onSubmit, onValidate, shouldTrimValues]);

// Keep track of the focus state of the current screen.
// Keep track of the focus state of the current screen.
// This is used to prevent validating the form on blur in case the screen is not focused.
const isFocusedRef = useRef(true);

Expand Down

0 comments on commit 184e5a1

Please sign in to comment.