Make componentWillMount not async

This was left over from a previous refactor
pull/21833/head
Luke Barnard 2017-08-31 16:44:14 +01:00
parent ebc1993530
commit 86e8a4c7e2
1 changed files with 1 additions and 1 deletions

View File

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