cleanup: prettier.

This commit is contained in:
Cory McWilliams 2024-11-25 20:05:40 -05:00
parent 71444b0427
commit 507b069ffe
2 changed files with 13 additions and 3 deletions

View File

@ -233,7 +233,11 @@ class TfProfileElement extends LitElement {
</button>`;
}
edit = html`
<button id="save_profile" class="w3-button w3-theme-d1" @click=${this.save_edits}>
<button
id="save_profile"
class="w3-button w3-theme-d1"
@click=${this.save_edits}
>
Save Profile
</button>
<button class="w3-button w3-theme-d1" @click=${this.discard_edits}>
@ -242,7 +246,11 @@ class TfProfileElement extends LitElement {
${server_follow}
`;
} else {
edit = html`<button id="edit_profile" class="w3-button w3-theme-d1" @click=${this.edit}>
edit = html`<button
id="edit_profile"
class="w3-button w3-theme-d1"
@click=${this.edit}
>
Edit Profile
</button>`;
}

View File

@ -217,7 +217,9 @@ class TfTabConnectionsElement extends LitElement {
<ul class="w3-ul w3-border">
${this.broadcasts
.filter((x) => x.address)
.filter((x) => self.connections.map(c => c.id).indexOf(x.pubkey) == -1)
.filter(
(x) => self.connections.map((c) => c.id).indexOf(x.pubkey) == -1
)
.map((x) => self.render_broadcast(x))}
</ul>
<h2>Connections</h2>