From 8b135f9ca3c7d305662a844afc0effbcc28916a3 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Tue, 25 Feb 2025 21:52:03 +0200 Subject: [PATCH] Remove async from event handler --- public/scripts/reasoning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/reasoning.js b/public/scripts/reasoning.js index 66a9ee967..d475ca3f9 100644 --- a/public/scripts/reasoning.js +++ b/public/scripts/reasoning.js @@ -998,7 +998,7 @@ function parseReasoningFromString(str, { strict = true } = {}) { } function registerReasoningAppEvents() { - const eventHandler = async (/** @type {number} */ idx) => { + const eventHandler = (/** @type {number} */ idx) => { if (!power_user.reasoning.auto_parse) { return; }