Make componentWillMount not async

This was left over from a previous refactor
This commit is contained in:
Luke Barnard 2017-08-31 16:44:14 +01:00
parent ebc1993530
commit 86e8a4c7e2

View file

@ -120,7 +120,7 @@ export default class Flair extends React.Component {
this._unmounted = true;
}
async componentWillMount() {
componentWillMount() {
this._unmounted = false;
this._generateAvatars();
}