Skip to content

Commit

Permalink
fix typo in recursive call
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Feb 18, 2024
1 parent 004a871 commit 12a98ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priompt/src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1920,7 +1920,7 @@ function validateNoUnhandledTypes(elem: PromptElement): void {
function validateNotBothAbsoluteAndRelativePriority(elem: PromptElement): void {
if (Array.isArray(elem)) {
for (const child of elem) {
validateUnrenderedPrompt(child);
validateNotBothAbsoluteAndRelativePriority(child);
}
return;
}
Expand Down

0 comments on commit 12a98ac

Please sign in to comment.