Skip to content

Commit

Permalink
use the index of key instead of uid as the uid ended up performing a …
Browse files Browse the repository at this point in the history
…click every time you clicked on the accordion title
  • Loading branch information
ichim-david committed Aug 17, 2023
1 parent 290f391 commit 0477d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/manage/Blocks/Accordion/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ const Edit = (props) => {
handleTitleClick={() => setSelectedBlock({})}
data={data}
index={index}
key={uid}
key={index}
>
<BlocksForm
key={uid}
Expand Down

0 comments on commit 0477d22

Please sign in to comment.