1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00

sample fix

This commit is contained in:
ido 2014-12-10 09:46:59 +02:00
parent de9c1b090c
commit 898edf585b

View File

@ -1,9 +1,8 @@
{
mixins: [React.addons.LinkedStateMixin],
getInitialState: function () {
return {open:false};
return {open: false};
},
toggle: function() {
this.setState({open:!this.state.open});
this.setState({open: !this.state.open});
}
}