Skip to content

Commit

Permalink
JENKINS: fix useEffect deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Nov 27, 2020
1 parent 8a7ec73 commit c032943
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/manage/Blocks/Accordion/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ const Edit = (props) => {
}
return undefined;
});
}, [onChangeBlock, properties, selectedBlock, block, data]);
}, [
onChangeBlock,
properties,
selectedBlock,
block,
data,
properties.blocks,
]);

const blockState = {};
const panelData = properties;
Expand Down

0 comments on commit c032943

Please sign in to comment.