fix(reply): mention toggle would not persist

This commit is contained in:
Paul 2021-12-26 15:00:50 +00:00
parent 5737b32271
commit 301070a3cb

View file

@ -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),
},
]);
});