mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
Use tabWidth 4 without actual tabs.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
module.exports = {
|
||||
"tabWidth": 4,
|
||||
"useTabs": true,
|
||||
"trailingComma": "all",
|
||||
"jsxBracketSameLine": true,
|
||||
"importOrder": ["preact|classnames|.scss$", "/(lib)", "/(redux)", "/(context)", "/(ui|common)|.svg$", "^[./]"],
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user