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

View File

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