Skip to content

Commit

Permalink
Revert "fix typo in recursive call"
Browse files Browse the repository at this point in the history
This reverts commit 6c7a7fe.
  • Loading branch information
arvid220u committed Feb 18, 2024
1 parent bba9823 commit 004a871
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 @@ -1878,7 +1878,7 @@ function validateUnrenderedPrompt(elem: PromptElement): void {
function validateNoUnhandledTypes(elem: PromptElement): void {
if (Array.isArray(elem)) {
for (const child of elem) {
validateNotBothAbsoluteAndRelativePriority(child);
validateNoUnhandledTypes(child);
}
return;
}
Expand Down

0 comments on commit 004a871

Please sign in to comment.