From 7c2d2676f77310c3a4269c532f5e1d17262a5608 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Jan 2023 16:17:42 +0900 Subject: [PATCH] refactor --- .../components/{MkPlusOneEffect.vue => MkReactionEffect.vue} | 0 .../frontend/src/components/MkReactionsViewer.reaction.vue | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename packages/frontend/src/components/{MkPlusOneEffect.vue => MkReactionEffect.vue} (100%) diff --git a/packages/frontend/src/components/MkPlusOneEffect.vue b/packages/frontend/src/components/MkReactionEffect.vue similarity index 100% rename from packages/frontend/src/components/MkPlusOneEffect.vue rename to packages/frontend/src/components/MkReactionEffect.vue diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue index 321ce7ab2c..cc6e87e1c4 100644 --- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue +++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue @@ -19,7 +19,7 @@ import MkReactionIcon from '@/components/MkReactionIcon.vue'; import * as os from '@/os'; import { useTooltip } from '@/scripts/use-tooltip'; import { $i } from '@/account'; -import MkPlusOneEffect from '@/components/MkPlusOneEffect.vue'; +import MkReactionEffect from '@/components/MkReactionEffect.vue'; const props = defineProps<{ reaction: string; @@ -61,7 +61,7 @@ const anime = () => { const rect = buttonEl.value.getBoundingClientRect(); const x = rect.left + 16; const y = rect.top + (buttonEl.value.offsetHeight / 2); - os.popup(MkPlusOneEffect, { reaction: props.reaction, x, y }, {}, 'end'); + os.popup(MkReactionEffect, { reaction: props.reaction, x, y }, {}, 'end'); }; watch(() => props.count, (newCount, oldCount) => {