mirror of https://github.com/vector-im/riot-web
Make componentWillMount not async
This was left over from a previous refactorpull/21833/head
parent
ebc1993530
commit
86e8a4c7e2
|
@ -120,7 +120,7 @@ export default class Flair extends React.Component {
|
|||
this._unmounted = true;
|
||||
}
|
||||
|
||||
async componentWillMount() {
|
||||
componentWillMount() {
|
||||
this._unmounted = false;
|
||||
this._generateAvatars();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue