mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 23:42:41 +00:00
fix brewCollection issue
This commit is contained in:
@@ -118,7 +118,7 @@ const ArchivePage = createClass({
|
|||||||
this.updateStateWithBrews([], 1, 1, 0);
|
this.updateStateWithBrews([], 1, 1, 0);
|
||||||
}
|
}
|
||||||
console.log('a',
|
console.log('a',
|
||||||
!this.state.brewCollection || brewCollection.length === 0
|
!this.state.brewCollection || this.state.brewCollection.length === 0
|
||||||
);
|
);
|
||||||
if (!this.state.brewCollection) {
|
if (!this.state.brewCollection) {
|
||||||
this.setState({ error: '404' });
|
this.setState({ error: '404' });
|
||||||
|
|||||||
Reference in New Issue
Block a user