From 82d1a294a6d3134e229d234593bef45f50af7abb Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 23 Oct 2024 15:38:49 -0400 Subject: [PATCH] ssb: prettier. --- apps/ssb/tf-compose.js | 6 +++++- apps/ssb/tf-reactions-modal.js | 5 ++++- core/app.js | 6 +----- core/core.js | 6 +++--- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/apps/ssb/tf-compose.js b/apps/ssb/tf-compose.js index 3d6cad76..3ea22849 100644 --- a/apps/ssb/tf-compose.js +++ b/apps/ssb/tf-compose.js @@ -182,7 +182,11 @@ class TfComposeElement extends LitElement { } event.preventDefault(); - document.execCommand('insertText', false, event.clipboardData.getData('text/plain')); + document.execCommand( + 'insertText', + false, + event.clipboardData.getData('text/plain') + ); } async submit() { diff --git a/apps/ssb/tf-reactions-modal.js b/apps/ssb/tf-reactions-modal.js index 583be8a9..565f6071 100644 --- a/apps/ssb/tf-reactions-modal.js +++ b/apps/ssb/tf-reactions-modal.js @@ -29,7 +29,10 @@ class TfReactionsModalElement extends LitElement { style="display: block; box-sizing: border-box" @click=${this.clear} > -
+

Reactions

diff --git a/core/app.js b/core/app.js index e4609b4e..48e8b4c6 100644 --- a/core/app.js +++ b/core/app.js @@ -172,11 +172,7 @@ async function socket(request, response, client) { 0x1 ); } else { - process = await core.getProcessBlob( - blobId, - sessionId, - options - ); + process = await core.getProcessBlob(blobId, sessionId, options); } } if (process) { diff --git a/core/core.js b/core/core.js index ab173659..ace5f49c 100644 --- a/core/core.js +++ b/core/core.js @@ -335,9 +335,9 @@ async function getProcessBlob(blobId, key, options) { settings.userPermissions[user] && settings.userPermissions[user][options.packageOwner] ) { - return settings.userPermissions[user][ - options.packageOwner - ][options.packageName]; + return settings.userPermissions[user][options.packageOwner][ + options.packageName + ]; } }, allPermissionsGranted: async function () {