From aa56cf58139fa76a881af1aa539ac2c9c42f6cf5 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Fri, 19 Aug 2022 15:36:22 -0400 Subject: [PATCH] Fix lints in timeline and sub-note-content --- packages/client/src/components/sub-note-content.vue | 1 - packages/client/src/widgets/timeline.vue | 11 +++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/client/src/components/sub-note-content.vue b/packages/client/src/components/sub-note-content.vue index 46907a729..0c97b8075 100644 --- a/packages/client/src/components/sub-note-content.vue +++ b/packages/client/src/components/sub-note-content.vue @@ -33,7 +33,6 @@ const props = defineProps<{ note: misskey.entities.Note; }>(); - const isLong = ( props.note.cw == null && props.note.text != null && ( (props.note.text.split('\n').length > 9) || diff --git a/packages/client/src/widgets/timeline.vue b/packages/client/src/widgets/timeline.vue index 22c86e4ab..a3e7ff099 100644 --- a/packages/client/src/widgets/timeline.vue +++ b/packages/client/src/widgets/timeline.vue @@ -20,13 +20,12 @@