Skip to content

Commit

Permalink
fix: undefined component
Browse files Browse the repository at this point in the history
  • Loading branch information
winchesHe committed Nov 7, 2024
1 parent 764d4c7 commit 5fe4a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export async function checkIllegalComponents<T extends boolean = false>(
const cloneComponents = [...components];

for (const componentIndex in cloneComponents) {
const component = components[componentIndex]!;
const component = cloneComponents[componentIndex]!;

if (!store.nextUIComponentsKeysSet.has(component)) {
if (checkBeta) {
Expand Down

0 comments on commit 5fe4a35

Please sign in to comment.