delete debug msg and memo

This commit is contained in:
sim1222 2022-12-22 17:44:47 +09:00
parent 4fd4c8ca8b
commit afdf519aaa
No known key found for this signature in database
GPG Key ID: 04EF48D01BEB0298

View File

@ -102,8 +102,6 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string, n
return (emoji.name === name); return (emoji.name === name);
}); });
}); });
console.log(name);
console.log(duplication);
if (await duplication) { if (await duplication) {
os.api('notes/reactions/create', { os.api('notes/reactions/create', {
noteId: noteId, noteId: noteId,
@ -116,7 +114,7 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string, n
noteId: noteId, noteId: noteId,
reaction: `:${name}:`, reaction: `:${name}:`,
}); });
}, 1000); }, 1000); // インポートしてからバックエンドに浸透するのが遅いので1秒待つ
}); });
} }
}, },