Skip to content

Commit

Permalink
Merge pull request #191 from srph/patch-2
Browse files Browse the repository at this point in the history
Fixed malformed arguments (syntax error).
  • Loading branch information
goatslacker committed Apr 21, 2015
2 parents e36c671 + c2b1ea8 commit 4a70f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/utils/immutable.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class MyStore {
}

onUpdateProp1(newProp1) {
this.data = this.data.set(prop1: newProp1);
this.data = this.data.set('prop1', newProp1);
}
}

Expand Down

0 comments on commit 4a70f8e

Please sign in to comment.