Skip to content

Commit

Permalink
feat: Update Edit.jsx to pass errors to BlocksForm - refs #269086
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 authored Aug 6, 2024
1 parent 07b97bf commit dcda77c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"dotenv": "^16.3.2",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"md5": "^2.3.0"
"md5": "^2.3.0",
"cypress": "13.1.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json}": [
Expand Down
1 change: 1 addition & 0 deletions src/components/manage/Blocks/Accordion/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ const Edit = (props) => {
key={`accordion-${index}`}
>
<BlocksForm
errors={props.errors}
key={uid}
title={data.placeholder}
description={instructions}
Expand Down

0 comments on commit dcda77c

Please sign in to comment.