From 301070a3cb8888e64c61fa8a94c4ca345e030bce Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 26 Dec 2021 15:00:50 +0000 Subject: [PATCH] fix(reply): mention toggle would not persist --- src/components/common/messaging/bars/ReplyBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/messaging/bars/ReplyBar.tsx b/src/components/common/messaging/bars/ReplyBar.tsx index 0e853e25..5fddb2fd 100644 --- a/src/components/common/messaging/bars/ReplyBar.tsx +++ b/src/components/common/messaging/bars/ReplyBar.tsx @@ -101,7 +101,7 @@ export default observer(({ channel, replies, setReplies }: Props) => { mention: message.author_id === client.user!._id ? false - : layout.getSectionState("SECTION_MENTION", false), + : layout.getSectionState(SECTION_MENTION, false), }, ]); });