Skip to content

Commit

Permalink
Chore: remove disused dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
monfera committed Feb 14, 2019
1 parent 8fbd8ce commit 4042a33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x-pack/plugins/canvas/public/lib/aeroelastic/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,5 @@ export const createStore = (initialState: NodeResult, onChangeCallback: ChangeCa
}
};

const dispatch = (type: TypeName, payload: Payload) => commit(type, payload);

return { getCurrentState, setUpdater, commit, dispatch };
return { getCurrentState, setUpdater, commit };
};

0 comments on commit 4042a33

Please sign in to comment.