0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-14 15:03:07 +00:00

Finally testing, things should be working a bit better now

This commit is contained in:
Scott Tolksdorf
2017-01-01 13:31:33 -08:00
parent 95c09ba7ad
commit 5ba3f98696
8 changed files with 70 additions and 84 deletions

View File

@@ -14,23 +14,9 @@ const BrewInterface = require('homebrewery/brewInterface/brewInterface.jsx');
const Actions = require('homebrewery/brew.actions.js');
//const Store = require('homebrewery/brew.store.js');
//
const HomePage = React.createClass({
getDefaultProps: function() {
return {
welcomeText : '',
};
},
componentWillMount: function() {
Actions.init({
brew : {
text : this.props.welcomeText
}
});
},
handleSave : function(){
Actions.saveNew();
},