diff --git a/packages/client/src/scripts/reactionImportMenu.ts b/packages/client/src/scripts/reactionImportMenu.ts index 61b5b4a53..369b694a0 100644 --- a/packages/client/src/scripts/reactionImportMenu.ts +++ b/packages/client/src/scripts/reactionImportMenu.ts @@ -114,9 +114,9 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string) { os.confirm({ type: 'warning', text: '同じ名前の絵文字が存在します。インポートしますか?', - }).then(canceled => { - console.log(canceled); - if (canceled) return; + }).then(res => { + console.log(res); + if (res.canceled) return; importEmoji(reaction); }); } else {