0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 20:22:42 +00:00

quick fix

This commit is contained in:
Víctor Losada Hernández
2024-01-28 00:26:35 +01:00
parent 9aa5eea8c9
commit 9366284e1d

View File

@@ -41,7 +41,7 @@ const ArchivePage = createClass({
this.setState({ searching: true, error: null });
request
.get(`/archive/${this.state.title}`)
.then((res) => this.setState({ brewCollection: res.body.simplifiedBrews }, this.setState({ limit: res.body.message})))
.then((res) => this.setState({ brewCollection: res.body.brews }, this.setState({ limit: res.body.message})))
.catch((err) => this.setState({ error: err }))
.finally(() => this.setState({ searching: false }));
},