diff --git a/apps/ssb/tf-app.js b/apps/ssb/tf-app.js index 51d581e8..6e7e3701 100644 --- a/apps/ssb/tf-app.js +++ b/apps/ssb/tf-app.js @@ -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] + ) + ); } } diff --git a/apps/ssb/tf-news.js b/apps/ssb/tf-news.js index 4c230136..62df710a 100644 --- a/apps/ssb/tf-news.js +++ b/apps/ssb/tf-news.js @@ -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, });