From edf7beff23f71b742cd0a9c81cb5a2509543ec6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Thu, 9 Oct 2025 11:30:34 +0900 Subject: [PATCH] =?UTF-8?q?fix(frontend/aiscript):=20Mk:toast=E3=82=92?= =?UTF-8?q?=E5=90=8C=E6=9C=9F=E9=96=A2=E6=95=B0=E3=81=AB=E5=A4=89=E6=9B=B4?= =?UTF-8?q?=20(#16480)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/aiscript/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/aiscript/api.ts b/packages/frontend/src/aiscript/api.ts index 0549ab76a0..dc84925375 100644 --- a/packages/frontend/src/aiscript/api.ts +++ b/packages/frontend/src/aiscript/api.ts @@ -66,7 +66,7 @@ export function createAiScriptEnv(opts: { storageKey: string, token?: string }) }); return confirm.canceled ? values.FALSE : values.TRUE; }), - 'Mk:toast': values.FN_NATIVE(async ([text]) => { + 'Mk:toast': values.FN_NATIVE(([text]) => { utils.assertString(text); os.toast(text.value); return values.NULL;