forked from abner/for-legacy-web
chore: split content into content, system
This commit is contained in:
@@ -228,7 +228,7 @@ export default observer(({ channel }: Props) => {
|
||||
);
|
||||
renderer.messages.reverse();
|
||||
|
||||
if (msg) {
|
||||
if (msg?.content) {
|
||||
// eslint-disable-next-line prefer-const
|
||||
let [_, toReplace, newText, flags] = content.split(/\//);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user