From 25f4c8688abdd23b93038bf8339ac0eca0f63330 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 2 Sep 2022 00:22:31 +0900 Subject: [PATCH] refactor(client): use setup syntax --- packages/client/src/components/MkRipple.vue | 99 ++++++++++----------- packages/client/src/pages/follow.vue | 93 +++++++++---------- packages/client/src/ui/deck/tl-column.vue | 16 ---- 3 files changed, 90 insertions(+), 118 deletions(-) diff --git a/packages/client/src/components/MkRipple.vue b/packages/client/src/components/MkRipple.vue index 401e78e304..9d93211d5f 100644 --- a/packages/client/src/components/MkRipple.vue +++ b/packages/client/src/components/MkRipple.vue @@ -1,8 +1,9 @@ - diff --git a/packages/client/src/pages/follow.vue b/packages/client/src/pages/follow.vue index 0c1cb7733b..f44d355aac 100644 --- a/packages/client/src/pages/follow.vue +++ b/packages/client/src/pages/follow.vue @@ -3,63 +3,58 @@ - diff --git a/packages/client/src/ui/deck/tl-column.vue b/packages/client/src/ui/deck/tl-column.vue index a6e4ec5d57..e64ed852b2 100644 --- a/packages/client/src/ui/deck/tl-column.vue +++ b/packages/client/src/ui/deck/tl-column.vue @@ -102,22 +102,6 @@ const menu = [{ text: i18n.ts.timeline, action: setType, }]; - -/* -export default defineComponent({ - watch: { - mediaOnly() { - (this.$refs.timeline as any).reload(); - } - }, - - methods: { - focus() { - (this.$refs.timeline as any).focus(); - } - } -}); -*/