Skip to content

Commit

Permalink
chore: consistently apply dependency pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku authored Feb 1, 2024
1 parent 12b2a3a commit 2a3f921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider/bpmn/properties/IdProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function Id(props) {
};

const getValue = useCallback((element) => {
return element.businessObject.id;
return getBusinessObject(element).id;
}, []);

const validate = useCallback((value) => {
Expand Down

0 comments on commit 2a3f921

Please sign in to comment.