mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Homebrewery will now try and insert a better title for you if you dont provide one
This commit is contained in:
@@ -31,7 +31,6 @@ var HomePage = React.createClass({
|
||||
handleSave : function(){
|
||||
request.post('/api')
|
||||
.send({
|
||||
title : 'Change This',
|
||||
text : this.state.text
|
||||
})
|
||||
.end((err, res)=>{
|
||||
|
||||
@@ -20,7 +20,7 @@ var NewPage = React.createClass({
|
||||
getInitialState: function() {
|
||||
return {
|
||||
ver : '0.0.0',
|
||||
title : 'My Awesome Brew v99',
|
||||
title : '',
|
||||
text: '',
|
||||
isSaving : false
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user