From 25e012d917d9897840eb8cda07a4d9208a998589 Mon Sep 17 00:00:00 2001 From: Sha Zhou Date: Tue, 18 Mar 2025 14:14:23 +0800 Subject: [PATCH] remove urls when tracking think action (#84) --- src/utils/action-tracker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/action-tracker.ts b/src/utils/action-tracker.ts index 2e0b77a..35f2f1d 100644 --- a/src/utils/action-tracker.ts +++ b/src/utils/action-tracker.ts @@ -27,7 +27,7 @@ export class ActionTracker extends EventEmitter { if (lang) { think = getI18nText(think, lang, params); } - this.state = {...this.state, thisStep: {...this.state.thisStep, think}}; + this.state = {...this.state, thisStep: {...this.state.thisStep, URLTargets: [], think} as StepAction}; this.emit('action', this.state.thisStep); }