DEV: Fix lint take 2.

This commit is contained in:
Guo Xiang Tan 2020-08-07 13:17:20 +08:00
parent e2fc05705f
commit cf2797bf58
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -3,9 +3,9 @@ import { censor } from "pretty-text/censored-words";
import { emojiUnescape } from "discourse/lib/text";
import { isRTL } from "discourse/lib/text-direction";
export function fancyTitle(title, supportMixedTextDirection) {
export function fancyTitle(topicTitle, supportMixedTextDirection) {
let title = censor(
emojiUnescape(title) || "",
emojiUnescape(topicTitle) || "",
Site.currentProp("censored_regexp")
);