Skip to content

Commit

Permalink
update typescript check
Browse files Browse the repository at this point in the history
  • Loading branch information
LIlGG committed Mar 11, 2024
1 parent 0044d34 commit 3426082
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/src/formkit/inputs/verify-form/features/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ export function setIncompleteMessage(node: FormKitNode) {
);
}

function buildVerifyFormValue(node: FormkitNode) {
function buildVerifyFormValue(node: FormKitNode) {
if (!node.parent) return {};
const parentValue = {
...node.parent.value,
...(node.parent.value as Record<string, unknown>),
};
delete parentValue[node.name];
return parentValue;
Expand Down

0 comments on commit 3426082

Please sign in to comment.