mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 08:30:58 -05:00
Use tabWidth 4 without actual tabs.
This commit is contained in:
parent
7bd33d8d34
commit
b5a11d5c8f
180 changed files with 16619 additions and 16622 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue