Use tabWidth 4 without actual tabs.

This commit is contained in:
Paul 2021-07-05 11:25:20 +01:00
parent 7bd33d8d34
commit b5a11d5c8f
180 changed files with 16619 additions and 16622 deletions

View file

@ -1,6 +1,5 @@
module.exports = {
"tabWidth": 4,
"useTabs": true,
"trailingComma": "all",
"jsxBracketSameLine": true,
"importOrder": ["preact|classnames|.scss$", "/(lib)", "/(redux)", "/(context)", "/(ui|common)|.svg$", "^[./]"],

View file

@ -450,9 +450,7 @@ function MessageBox({ channel, draft }: Props) {
channel.channel_type === "DirectMessage"
? translate("app.main.channel.message_who", {
person: client.users.get(
client.channels.getRecipient(
channel._id,
),
client.channels.getRecipient(channel._id),
)?.username,
})
: channel.channel_type === "SavedMessages"