From be526e7424919d76dbaa637a02eb138096fb366c 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 401e78e30..9d93211d5 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 0c1cb7733..f44d355aa 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 a6e4ec5d5..e64ed852b 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(); - } - } -}); -*/