Rae Che
4bde5fcbf8
HomebrewAdmin: Mark links as noreferrer.
2018-05-31 10:53:07 -04:00
Rae Che
ff0aa56ddc
HomebrewAdmin: Remove direct React state mutation.
2018-05-31 10:53:07 -04:00
Rae Che
74f92f3e44
Use noreferrer in recent-brew links.
2018-05-31 10:53:07 -04:00
Rae Che
84285f7359
Remove redundant expression.
2018-05-31 10:53:07 -04:00
Rae Che
ec0de7a408
BrewRenderer: Remove redundant errors state property.
...
The errors are in fact tracked in `this.props`, not `this.state`.
2018-05-31 10:53:07 -04:00
Rae Che
9ea99236ff
Omit redundant property definition in brew renderer
2018-05-31 10:53:07 -04:00
Rae Che
f806328e75
Omit redundant property in eslintrc
2018-05-31 10:53:07 -04:00
Rae Che
15ac397b63
Fix inconsistent React state update.
...
Flagged by lgtm.com (as js/react/inconsistent-state-update).
2018-05-31 10:53:07 -04:00
Rae Che
b8105eb147
Config: Read MongoDB URL from config files too.
2018-05-29 11:04:57 -04:00
Rae2che5
cbbb7292d9
Revert "Fix duplicated text from Class Feature snippet"
...
This reverts commit 9519a0b4e4 .
2018-05-11 20:44:53 +01:00
Rae Che
fd5d142c16
Fix calculation of currently-viewed page.
...
Previously, this relied on a hard-coded constant determining the
height of a page. However, that's unnecessary -- we know the scroll
height of the window and the number of pages, so we can compute it.
2018-05-10 14:35:03 -04:00