mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 02:12:43 +00:00
Revert "Prevent loading of undefined renderer or theme themebundle."
This reverts commit 136e877ee6.
This commit is contained in:
@@ -43,9 +43,7 @@ const HomePage = createClass({
|
||||
editor : React.createRef(null),
|
||||
|
||||
componentDidMount : function() {
|
||||
if(this.props.brew.renderer || this.props.brew.theme){
|
||||
fetchThemeBundle(this, this.props.brew.renderer, this.props.brew.theme);
|
||||
}
|
||||
fetchThemeBundle(this, this.props.brew.renderer, this.props.brew.theme);
|
||||
},
|
||||
|
||||
handleSave : function(){
|
||||
|
||||
@@ -32,9 +32,7 @@ const SharePage = createClass({
|
||||
componentDidMount : function() {
|
||||
document.addEventListener('keydown', this.handleControlKeys);
|
||||
|
||||
if(this.props.brew.renderer || this.props.brew.theme){
|
||||
fetchThemeBundle(this, this.props.brew.renderer, this.props.brew.theme);
|
||||
}
|
||||
fetchThemeBundle(this, this.props.brew.renderer, this.props.brew.theme);
|
||||
},
|
||||
|
||||
componentWillUnmount : function() {
|
||||
|
||||
Reference in New Issue
Block a user