Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit e230420

Browse files
committed
Fixing linting errors
1 parent b1b0d12 commit e230420

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/form-component-spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,10 @@ describe('<Form> component', () => {
625625
errors={{
626626
bar: (val) => val !== 'bar' && 'bar invalid',
627627
}}
628-
onSubmit={(val) => (submitValue = val, true)}
628+
onSubmit={(val) => {
629+
submitValue = val;
630+
return true;
631+
}}
629632
>
630633
<Field model="test.foo">
631634
<input type="text" />

0 commit comments

Comments
 (0)