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

This commit is contained in:
Cory McWilliams 2025-06-04 18:01:39 -04:00
parent 45231d703d
commit 94c2b1184f
2 changed files with 8 additions and 6 deletions

View File

@ -128,7 +128,13 @@ class TfElement extends LitElement {
} }
next_channel(delta) { next_channel(delta) {
let channel_names = ['', '@', '🔐', '👍', ...this.channels.map((x) => '#' + x)]; let channel_names = [
'',
'@',
'🔐',
'👍',
...this.channels.map((x) => '#' + x),
];
let index = channel_names.indexOf(this.hash.substring(1)); let index = channel_names.indexOf(this.hash.substring(1));
index = index != -1 ? index + delta : 0; index = index != -1 ? index + delta : 0;
tfrpc.rpc.setHash( tfrpc.rpc.setHash(

View File

@ -230,11 +230,7 @@ class TfTabNewsFeedElement extends LitElement {
UNION UNION
SELECT TRUE AS is_primary, * FROM votes SELECT TRUE AS is_primary, * FROM votes
`, `,
[ [JSON.stringify(this.following), start_time, end_time]
JSON.stringify(this.following),
start_time,
end_time,
]
); );
} else { } else {
let t0 = new Date(); let t0 = new Date();