mirror of
https://github.com/flarum/framework.git
synced 2025-05-02 01:24:03 +08:00
Fix use of "new" keyword making eslint angry
This commit is contained in:
parent
e192402a42
commit
b3aa0298d5
@ -23,8 +23,8 @@ export default class DiscussionRenamedPost extends EventPost {
|
|||||||
const newTitle = post.content()[1];
|
const newTitle = post.content()[1];
|
||||||
|
|
||||||
return {
|
return {
|
||||||
old: <strong className="DiscussionRenamedPost-old">{oldTitle}</strong>,
|
'old': <strong className="DiscussionRenamedPost-old">{oldTitle}</strong>,
|
||||||
new: <strong className="DiscussionRenamedPost-new">{newTitle}</strong>
|
'new': <strong className="DiscussionRenamedPost-new">{newTitle}</strong>
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user