prettier.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 30m7s

This commit is contained in:
Cory McWilliams 2025-04-16 19:27:24 -04:00
parent 27f2d319ab
commit abde709e54
2 changed files with 7 additions and 14 deletions

View File

@ -318,10 +318,9 @@ class TfMessageElement extends LitElement {
>
+ ${this.total_child_messages(this.message) + ' More'}
</button>
`;
`;
} else {
return html`
<div class="w3-container w3-margin-bottom">
return html` <div class="w3-container w3-margin-bottom">
${repeat(
this.message.child_messages || [],
(x) => x.id,
@ -342,8 +341,8 @@ class TfMessageElement extends LitElement {
style="box-sizing: border-box"
@click=${() => self.set_expanded(false)}
>
Collapse</button
>`;
Collapse
</button>`;
}
} else {
return undefined;
@ -553,12 +552,8 @@ class TfMessageElement extends LitElement {
`
: undefined;
return html`
<div class="w3-section w3-container">
${reply}
</div>
<footer>
${this.render_children()}
</footer>
<div class="w3-section w3-container">${reply}</div>
<footer>${this.render_children()}</footer>
`;
}

View File

@ -62,9 +62,7 @@ function nice_size(bytes) {
}
async function main() {
await app.setDocument(
'<p style="color: #fff">Analyzing feeds...</p>'
);
await app.setDocument('<p style="color: #fff">Analyzing feeds...</p>');
let most_follows = get_most_follows();
let total = await get_total();
let identities = await ssb.getAllIdentities();