e2corporation commented on code in PR #3191:
URL: https://github.com/apache/incubator-devlake/pull/3191#discussion_r980676456
##########
config-ui/src/components/blueprints/create-workflow/DataTransformations.jsx:
##########
@@ -96,6 +97,13 @@ const DataTransformations = (props) => {
cardStyle = {}
} = props
+ // Used to determine whether to display edit transformation or add
transformation
+ const [initializeTransformations, setInitializeTransformations] =
useState({})
Review Comment:
While I'm a fan of `lodash` and it has many useful helpers for working with
arrays and objects etc., It's not really needed to get the existing logic
working, and introduces another 3rd party dependency.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]