diff --git a/client/homebrew/pages/archivePage/archivePage.jsx b/client/homebrew/pages/archivePage/archivePage.jsx index 5bbee10b8..ebe24f7bc 100644 --- a/client/homebrew/pages/archivePage/archivePage.jsx +++ b/client/homebrew/pages/archivePage/archivePage.jsx @@ -60,6 +60,7 @@ const ArchivePage = createClass({ }); } catch (error) { console.log(`LoadPage error: ${error}`); + this.setState({ error: {error} }); this.updateStateWithBrews([], 1, 1); } }, @@ -67,8 +68,7 @@ const ArchivePage = createClass({ updateUrl : function() { const url = new URL(window.location.href); const urlParams = new URLSearchParams(url.search); - - // Set the title and page parameters + urlParams.set('title', this.state.title); urlParams.set('page', this.state.page); @@ -107,7 +107,7 @@ const ArchivePage = createClass({ if(title === '') {return (