0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 02:32:37 +00:00

fix brewCollection issue

This commit is contained in:
Víctor Losada Hernández
2024-05-08 13:32:03 +02:00
parent f9f2e604c0
commit 02450982c1

View File

@@ -118,7 +118,7 @@ const ArchivePage = createClass({
this.updateStateWithBrews([], 1, 1, 0);
}
console.log('a',
!this.state.brewCollection || brewCollection.length === 0
!this.state.brewCollection || this.state.brewCollection.length === 0
);
if (!this.state.brewCollection) {
this.setState({ error: '404' });