Skip to content

Commit d0b9dac

Browse files
ci: apply automated fixes and generate docs
1 parent 632812b commit d0b9dac

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

packages/react-form/tests/onmount-detection.bench.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function FormikOnMountBenchmark() {
6161
num: arr,
6262
}}
6363
validationSchema={toFormikValidationSchema(validator)}
64-
onSubmit={() => { }}
64+
onSubmit={() => {}}
6565
>
6666
{() => (
6767
<>
@@ -93,9 +93,7 @@ describe('Validates onMount on 1,000 form items', () => {
9393
bench(
9494
'TanStack Form',
9595
async () => {
96-
const { findAllByText } = render(
97-
<TanStackFormOnMountBenchmark />,
98-
)
96+
const { findAllByText } = render(<TanStackFormOnMountBenchmark />)
9997

10098
await findAllByText('Must be at least three')
10199
},
@@ -111,9 +109,7 @@ describe('Validates onMount on 1,000 form items', () => {
111109
bench(
112110
'Formik',
113111
async () => {
114-
const { findAllByText } = render(
115-
<FormikOnMountBenchmark />,
116-
)
112+
const { findAllByText } = render(<FormikOnMountBenchmark />)
117113

118114
await findAllByText('Must be at least three')
119115
},

0 commit comments

Comments
 (0)