From f86d31211c2eb5d08eca3b8caee466241ae2f3a2 Mon Sep 17 00:00:00 2001 From: Prev Wong Date: Mon, 1 Apr 2024 18:29:04 +0800 Subject: [PATCH] fix(reka): do not include child components in recursive search --- packages/core/src/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/component.ts b/packages/core/src/component.ts index ae41d02..e98db23 100644 --- a/packages/core/src/component.ts +++ b/packages/core/src/component.ts @@ -128,7 +128,7 @@ export class ComponentViewEvaluator { ...this.ctx, path: [...this.ctx.path, child.id], owner: this.ctx.owner, - componentStack: [...this.ctx.componentStack, component], + componentStack: [...this.ctx.componentStack], }) );