Skip to content

Commit

Permalink
fix: right icon when the first section is collapsed
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed Jan 31, 2024
1 parent edb7181 commit 126cf9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/EditorForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const renderBlockItems = (items, id, t) => {

const renderHeader = (props) => {
let img_arrow = img_accordion_closed;
if (props.activeSection == props.block.index - 1) {
if (props.activeSection[0] == props.block.index - 1) {
img_arrow = img_accordion_open;
}
return (
Expand Down

0 comments on commit 126cf9a

Please sign in to comment.