Skip to content

Commit

Permalink
Merge pull request #5 from witbybit/bug-fixes
Browse files Browse the repository at this point in the history
Fix getFormValues() error
  • Loading branch information
nikhilag authored Nov 12, 2021
2 parents dfd465c + 44cec23 commit 2e2d210
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.1",
"version": "0.1.2-0",
"license": "MIT",
"main": "dist/index",
"typings": "dist/index",
Expand Down
4 changes: 0 additions & 4 deletions src/FormProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -680,10 +680,6 @@ const getFormValues = (get: (val: RecoilValue<any>) => any) => {
(rid) => ancestors[i].rowId === rid
),
});
} else {
throw new Error(
`Field array '${ancestors[i].name}' in the ancestors of field ${fieldAtomValue.param.name} was not found`
);
}
}
}
Expand Down

0 comments on commit 2e2d210

Please sign in to comment.