0
0
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:
Víctor Losada Hernández
2024-02-12 23:54:15 +01:00
parent 534131d994
commit 2f323cde8a

View File

@@ -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() {