ssb: prettier.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
Cory McWilliams 2024-12-11 20:35:32 -05:00
parent 2f266b8dd4
commit 3091747438
2 changed files with 8 additions and 3 deletions

View File

@ -123,7 +123,12 @@ class TfElement extends LitElement {
let index = channel_names.indexOf(this.hash.substring(1));
if (index != -1) {
index += delta;
this.set_hash('#' + encodeURIComponent(channel_names[(index + channel_names.length) % channel_names.length]));
this.set_hash(
'#' +
encodeURIComponent(
channel_names[(index + channel_names.length) % channel_names.length]
)
);
}
}

View File

@ -165,7 +165,7 @@ class TfNewsElement extends LitElement {
} else {
if (group.length > 0) {
result.push({
rowid: Math.max(...group.map(x => x.rowid)),
rowid: Math.max(...group.map((x) => x.rowid)),
type: 'contact_group',
messages: group,
});
@ -176,7 +176,7 @@ class TfNewsElement extends LitElement {
}
if (group.length > 0) {
result.push({
rowid: Math.max(...group.map(x => x.rowid)),
rowid: Math.max(...group.map((x) => x.rowid)),
type: 'contact_group',
messages: group,
});