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:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user