Skip to content

Commit

Permalink
fix def
Browse files Browse the repository at this point in the history
  • Loading branch information
yeojz committed May 22, 2017
1 parent 63485ae commit 27ed415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/listActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const changeDelta = (name: string, idx: number) => (value: any): Object => ({
});

const change = (idx: number, name: string, props: Props, event: SyntheticFormEvent): SyntheticFormEvent => {
const delta: Object = changeDelta(name, idx);
const delta: Function = changeDelta(name, idx);
event.formData = update(props.formData, delta(event.formData));
event.formMeta = update(props.formMeta, delta(event.formMeta));
event.target = getTarget(name, event.formData);
Expand Down

0 comments on commit 27ed415

Please sign in to comment.