mirror of
https://github.com/revoltchat/revite.git
synced 2025-02-22 00:00:56 -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 = {
|
module.exports = {
|
||||||
"tabWidth": 4,
|
"tabWidth": 4,
|
||||||
"useTabs": true,
|
|
||||||
"trailingComma": "all",
|
"trailingComma": "all",
|
||||||
"jsxBracketSameLine": true,
|
"jsxBracketSameLine": true,
|
||||||
"importOrder": ["preact|classnames|.scss$", "/(lib)", "/(redux)", "/(context)", "/(ui|common)|.svg$", "^[./]"],
|
"importOrder": ["preact|classnames|.scss$", "/(lib)", "/(redux)", "/(context)", "/(ui|common)|.svg$", "^[./]"],
|
||||||
|
|
|
@ -450,9 +450,7 @@ function MessageBox({ channel, draft }: Props) {
|
||||||
channel.channel_type === "DirectMessage"
|
channel.channel_type === "DirectMessage"
|
||||||
? translate("app.main.channel.message_who", {
|
? translate("app.main.channel.message_who", {
|
||||||
person: client.users.get(
|
person: client.users.get(
|
||||||
client.channels.getRecipient(
|
client.channels.getRecipient(channel._id),
|
||||||
channel._id,
|
|
||||||
),
|
|
||||||
)?.username,
|
)?.username,
|
||||||
})
|
})
|
||||||
: channel.channel_type === "SavedMessages"
|
: channel.channel_type === "SavedMessages"
|
||||||
|
|
Loading…
Add table
Reference in a new issue