Appease linter

This commit is contained in:
HellhoundSoftware 2025-05-09 16:43:41 -04:00
parent 7f64a27268
commit 0937779bc2
No known key found for this signature in database

View file

@ -383,7 +383,7 @@ export function getNoteMenu(props: {
icon: 'ti ti-repeat',
text: i18n.ts.renote,
children: () => getNewRenoteMenu(appearNote),
})
});
menuItems.push({
type: 'parent',
@ -613,7 +613,7 @@ export async function getNewRenoteMenu(appearNote: Misskey.entities.Note): Promi
// Local-only notes should have the switch visibly forced on.
if (appearNote.localOnly) {
for (const item of renoteItems) {
if (item && item['type'] == "switch" && item['text'] == i18n.ts._timelines.local) {
if (item && item['type'] === "switch" && item['text'] === i18n.ts._timelines.local) {
item['ref'] = ref(true);
item['disabled'] = true;
break;