From 5a3f3862f8c3ad17ef5317eff7041313611e9b9e Mon Sep 17 00:00:00 2001 From: fly_mc Date: Thu, 21 Nov 2024 22:03:49 +0800 Subject: [PATCH] frontend: removed renote counts auto increase --- packages/frontend/src/scripts/get-note-menu.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 0b78241b8..c9ca171d5 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -576,7 +576,6 @@ export function getRenoteMenu(props: { channelId: appearNote.channelId, }).then(() => { os.toast(i18n.ts.renoted); - appearNote.renoteCount = (appearNote.renoteCount || 0) + 1; }); } }, @@ -625,7 +624,6 @@ export function getRenoteMenu(props: { renoteId: appearNote.id, }).then(() => { os.toast(i18n.ts.renoted); - appearNote.renoteCount = (appearNote.renoteCount || 0) + 1; }); } }, @@ -667,7 +665,6 @@ export function getRenoteMenu(props: { channelId: channel.id, }).then(() => { os.toast(i18n.tsx.renotedToX({ name: channel.name })); - appearNote.renoteCount = (appearNote.renoteCount || 0) + 1; }); } },