mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-30 19:11:29 +00:00
Added in a much better error page
This commit is contained in:
@@ -53,6 +53,9 @@ var EditPage = React.createClass({
|
||||
savedBrew : null,
|
||||
|
||||
componentDidMount: function(){
|
||||
|
||||
console.log('getting here');
|
||||
|
||||
this.debounceSave = _.debounce(this.save, SAVE_TIMEOUT);
|
||||
window.onbeforeunload = ()=>{
|
||||
if(this.state.isSaving || this.state.isPending){
|
||||
|
||||
Reference in New Issue
Block a user