0
0
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:
Scott Tolksdorf
2016-08-20 13:20:32 -04:00
parent 0a7b538216
commit ef8784ccf2
4 changed files with 17 additions and 3 deletions

View File

@@ -31,7 +31,6 @@ var HomePage = React.createClass({
handleSave : function(){
request.post('/api')
.send({
title : 'Change This',
text : this.state.text
})
.end((err, res)=>{

View File

@@ -20,7 +20,7 @@ var NewPage = React.createClass({
getInitialState: function() {
return {
ver : '0.0.0',
title : 'My Awesome Brew v99',
title : '',
text: '',
isSaving : false
};