mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 23:16:54 +00:00
quick fix
This commit is contained in:
1 parent
9aa5eea8c9
commit
9366284e1d
1 file changed
+1
-1
@@ -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 }));
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user