From 3a540dd1f67d685a0536c15f8ed14e3c95887d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=91=E3=81=A3=E3=81=A1?= Date: Sun, 18 Sep 2022 15:47:09 +0900 Subject: [PATCH] iwpo --- packages/client/src/scripts/reactionImportMenu.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {