mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-15 14:52:39 +00:00
remove unused logic from loadpage
This commit is contained in:
@@ -47,8 +47,7 @@ const ArchivePage = createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
loadPage : async function(page) {
|
loadPage : async function(page) {
|
||||||
if(this.state.title == '') {} else {
|
this.updateUrl();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
//this.updateUrl();
|
//this.updateUrl();
|
||||||
this.setState({ searching: true, error: null });
|
this.setState({ searching: true, error: null });
|
||||||
@@ -62,7 +61,6 @@ const ArchivePage = createClass({
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(`LoadPage error: ${error}`);
|
console.log(`LoadPage error: ${error}`);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
updateUrl : function() {
|
updateUrl : function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user