From 86e8a4c7e24a571a638933872d91d348c9c6c813 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 31 Aug 2017 16:44:14 +0100 Subject: [PATCH] Make componentWillMount not async This was left over from a previous refactor --- src/components/views/elements/Flair.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/Flair.js b/src/components/views/elements/Flair.js index 6ec9f36424..cfabd4841e 100644 --- a/src/components/views/elements/Flair.js +++ b/src/components/views/elements/Flair.js @@ -120,7 +120,7 @@ export default class Flair extends React.Component { this._unmounted = true; } - async componentWillMount() { + componentWillMount() { this._unmounted = false; this._generateAvatars(); }