diff --git a/apps/ssb/emojis.js b/apps/ssb/emojis.js
index 1e4202b1..451f6020 100644
--- a/apps/ssb/emojis.js
+++ b/apps/ssb/emojis.js
@@ -13,14 +13,17 @@ function get_emojis() {
}
async function get_recent(author) {
- let recent = await tfrpc.rpc.query(`
+ let recent = await tfrpc.rpc.query(
+ `
SELECT DISTINCT content ->> '$.vote.expression' AS value
FROM messages
WHERE author = ? AND
content ->> '$.type' = 'vote'
ORDER BY timestamp DESC LIMIT 10
- `, [author]);
- return recent.map(x => x.value);
+ `,
+ [author]
+ );
+ return recent.map((x) => x.value);
}
export async function picker(callback, anchor, author) {
diff --git a/apps/ssb/index.html b/apps/ssb/index.html
index a7220ebc..2f6e0e74 100644
--- a/apps/ssb/index.html
+++ b/apps/ssb/index.html
@@ -11,7 +11,7 @@
-
+
diff --git a/apps/ssb/tf-app.js b/apps/ssb/tf-app.js
index 0226cbc6..7064d617 100644
--- a/apps/ssb/tf-app.js
+++ b/apps/ssb/tf-app.js
@@ -375,7 +375,10 @@ class TfElement extends LitElement {
: html`Select or create an identity.
`
: this.render_tab();
return html`
-
+
${this.render_id_picker()} ${tabs}
${this.tags.map(
diff --git a/apps/ssb/tf-compose.js b/apps/ssb/tf-compose.js
index fc3f3895..ef91f46f 100644
--- a/apps/ssb/tf-compose.js
+++ b/apps/ssb/tf-compose.js
@@ -556,7 +556,8 @@ class TfComposeElement extends LitElement {
@input=${this.input}
@change=${this.change}
@paste=${this.paste}
- >${draft.text}
+${draft.text}
@@ -565,13 +566,11 @@ class TfComposeElement extends LitElement {
- ${Object.values(draft.mentions || {}).map((x) => self.render_mention(x))}
+ ${Object.values(draft.mentions || {}).map((x) =>
+ self.render_mention(x)
+ )}
${this.render_attach_app()} ${this.render_content_warning()}
-