From d521a06dad0b9aa1170a8020b873dac0245bc674 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 24 Aug 2026 16:08:47 +0300 Subject: [PATCH] cleanup & lint --- src/components/conversation/conversation.js | 7 +++++-- src/components/login_form/login_form.js | 2 +- src/components/status/status.js | 8 +++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js index 5570f6ac3..9827fd321 100644 --- a/src/components/conversation/conversation.js +++ b/src/components/conversation/conversation.js @@ -622,9 +622,12 @@ const conversation = { }, updateVirtualHeight() { this.$nextTick(() => { - console.log('LMAO', this.$refs.body.clientHeight) this.virtualHeight = this.$refs.body.clientHeight - this.$emit('update:virtualHeight', { id: this.status.id, height: this.virtualHeight, top: this.$el.clientTop }) + this.$emit('update:virtualHeight', { + id: this.status.id, + height: this.virtualHeight, + top: this.$el.clientTop, + }) }) }, }, diff --git a/src/components/login_form/login_form.js b/src/components/login_form/login_form.js index e655e9da9..8801d2c2e 100644 --- a/src/components/login_form/login_form.js +++ b/src/components/login_form/login_form.js @@ -2,8 +2,8 @@ import { mapActions, mapState } from 'pinia' import { useAuthFlowStore } from 'src/stores/auth_flow.js' import { useInstanceStore } from 'src/stores/instance.js' -import { useUsersStore } from 'src/stores/users.js' import { useOAuthStore } from 'src/stores/oauth.js' +import { useUsersStore } from 'src/stores/users.js' import { getLoginUrl, getTokenWithCredentials } from 'src/api/oauth.js' diff --git a/src/components/status/status.js b/src/components/status/status.js index 5b5edb845..ee69a7d05 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -118,7 +118,13 @@ const Status = { threadDisplayStatus: String, }, - emits: ['goto', 'dive', 'toggleExpanded', 'suspendableStateChange', 'heightChange'], + emits: [ + 'goto', + 'dive', + 'toggleExpanded', + 'suspendableStateChange', + 'heightChange', + ], data() { return { replying: false,