Skip to content

Commit ea398cc

Browse files
committed
Merge pull request #933 from evanx/master
Minor fix in example: remove unused argument
2 parents f7b86bc + 4a0782b commit ea398cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/master-detail/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ var Contact = React.createClass({
7070

7171
mixins: [ Router.Navigation, Router.State ],
7272

73-
getStateFromStore: function (id) {
74-
id = this.getParams().id;
73+
getStateFromStore: function () {
74+
var id = this.getParams().id;
7575
return {
7676
contact: ContactStore.getContact(id)
7777
};

0 commit comments

Comments
 (0)