0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-21 18:03:07 +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) {
if(this.state.title == '') {} else {
this.updateUrl();
try {
//this.updateUrl();
this.setState({ searching: true, error: null });
@@ -62,7 +61,6 @@ const ArchivePage = createClass({
} catch (error) {
console.log(`LoadPage error: ${error}`);
}
}
},
updateUrl : function() {