Skip to content

Commit

Permalink
Forgot rambda syntax for state
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarren1 committed Jul 20, 2018
1 parent 4721221 commit 0798987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ function updateOutput(
if (state.length > 0) {
payload.state = state.map(stateObject => {
// Make sure the component id exists in the layout
if (!validKeys.includes(stateObject.id)) {
if (!contains(stateObject.id, validKeys)) {
throw ReferenceError(
"An invalid input object was used in a " +
"`State` object of a Dash callback. " +
Expand Down

0 comments on commit 0798987

Please sign in to comment.