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

Commit f18eb9a

Browse files
committed
Removing unused function
1 parent 497af2c commit f18eb9a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/utils/update-field.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ function tempInitialState(path) {
2323
};
2424
}
2525

26-
export function getFieldState(state, path) {
27-
const field = get(state, path);
28-
29-
if (field && field.$form) return field.$form;
30-
31-
return field;
32-
}
33-
3426
export default function updateField(state, path, newState, newSubState, updater) {
3527
let field = get(state, path);
3628
let fullState = state;

0 commit comments

Comments
 (0)