From 676a9b8fe6ed92f5c4b8ce73d2baa6e2b2579220 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Fri, 1 Nov 2024 17:27:06 +0100 Subject: [PATCH] chore: convert to async --- js/src/forum/panes/ProfilePane.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/panes/ProfilePane.tsx b/js/src/forum/panes/ProfilePane.tsx index 7ce2ce9..315bcce 100644 --- a/js/src/forum/panes/ProfilePane.tsx +++ b/js/src/forum/panes/ProfilePane.tsx @@ -55,7 +55,7 @@ export default class ProfilePane extends Component { return type.answerField(); } - load() { + async load() { this.answers = this.user.masqueradeAnswers(); const userId = this.user.id();