1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 18:21:33 +02:00

Fix use of "new" keyword making eslint angry

This commit is contained in:
Toby Zerner
2015-09-04 12:12:21 +09:30
parent 6116458b3d
commit 3aa94e1b10

View File

@@ -23,8 +23,8 @@ export default class DiscussionRenamedPost extends EventPost {
const newTitle = post.content()[1];
return {
old: <strong className="DiscussionRenamedPost-old">{oldTitle}</strong>,
new: <strong className="DiscussionRenamedPost-new">{newTitle}</strong>
'old': <strong className="DiscussionRenamedPost-old">{oldTitle}</strong>,
'new': <strong className="DiscussionRenamedPost-new">{newTitle}</strong>
};
}
}