From 5fe4a359073a076d92d7a3264ce18f2e57cf2fc6 Mon Sep 17 00:00:00 2001 From: winches <329487092@qq.com> Date: Fri, 8 Nov 2024 00:08:23 +0800 Subject: [PATCH] fix: undefined component --- src/helpers/check.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/check.ts b/src/helpers/check.ts index 933b10d..7c675ee 100644 --- a/src/helpers/check.ts +++ b/src/helpers/check.ts @@ -352,7 +352,7 @@ export async function checkIllegalComponents( const cloneComponents = [...components]; for (const componentIndex in cloneComponents) { - const component = components[componentIndex]!; + const component = cloneComponents[componentIndex]!; if (!store.nextUIComponentsKeysSet.has(component)) { if (checkBeta) {