From e33deb66fce2d332b7df139f87373516eec01137 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Fri, 3 Nov 2023 19:50:03 +0900 Subject: [PATCH] fix get-note-menu.ts --- packages/frontend/src/scripts/get-note-menu.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index f46e9017af..f22d287c88 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -587,7 +587,7 @@ export function getRenoteMenu(props: { }; } -export function getRenoteOnly(props: { +export async function getRenoteOnly(props: { note: Misskey.entities.Note; renoteButton: Ref; mock?: boolean; @@ -602,7 +602,7 @@ export function getRenoteOnly(props: { const appearNote = isRenote ? props.note.renote as Misskey.entities.Note : props.note; if (defaultStore.state.showRenoteConfirmPopup) { - const { canceled } = os.confirm({ + const { canceled } = await os.confirm({ type: 'info', text: i18n.ts.renoteConfirm, caption: i18n.ts.renoteConfirmDescription,