frontend: removed renote counts auto increase

This commit is contained in:
fly_mc 2024-11-21 22:03:49 +08:00
parent be80b377cc
commit 5a3f3862f8

View file

@ -576,7 +576,6 @@ export function getRenoteMenu(props: {
channelId: appearNote.channelId, channelId: appearNote.channelId,
}).then(() => { }).then(() => {
os.toast(i18n.ts.renoted); os.toast(i18n.ts.renoted);
appearNote.renoteCount = (appearNote.renoteCount || 0) + 1;
}); });
} }
}, },
@ -625,7 +624,6 @@ export function getRenoteMenu(props: {
renoteId: appearNote.id, renoteId: appearNote.id,
}).then(() => { }).then(() => {
os.toast(i18n.ts.renoted); os.toast(i18n.ts.renoted);
appearNote.renoteCount = (appearNote.renoteCount || 0) + 1;
}); });
} }
}, },
@ -667,7 +665,6 @@ export function getRenoteMenu(props: {
channelId: channel.id, channelId: channel.id,
}).then(() => { }).then(() => {
os.toast(i18n.tsx.renotedToX({ name: channel.name })); os.toast(i18n.tsx.renotedToX({ name: channel.name }));
appearNote.renoteCount = (appearNote.renoteCount || 0) + 1;
}); });
} }
}, },