Skip to content

Commit

Permalink
modify strapi component builder for new v5 format
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer6497 committed Dec 19, 2024
1 parent f922240 commit 2076614
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions app/components/form/__test__/ValidatedFlowForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,16 +153,12 @@ function buildStrapiInputComponent(
__component: "form-elements.input",
name: "myInput",
placeholder: "input",
errors: {
data: [
{
id: 0,
attributes: {
errorCodes,
name: "",
},
},
],
},
errors: [
{
name: "",
id: 0,
errorCodes,
},
],
};
}

0 comments on commit 2076614

Please sign in to comment.