mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 01:02:51 +00:00
quick fix
This commit is contained in:
@@ -41,7 +41,7 @@ const ArchivePage = createClass({
|
|||||||
this.setState({ searching: true, error: null });
|
this.setState({ searching: true, error: null });
|
||||||
request
|
request
|
||||||
.get(`/archive/${this.state.title}`)
|
.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 }))
|
.catch((err) => this.setState({ error: err }))
|
||||||
.finally(() => this.setState({ searching: false }));
|
.finally(() => this.setState({ searching: false }));
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user