e2corporation commented on code in PR #3191:
URL: https://github.com/apache/incubator-devlake/pull/3191#discussion_r979993879
##########
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:
This is not an ideal naming choice as the naming convention
`InitializeTransformations` is already in use at the DSM Hook level for
representing the global Transformations map. Additionally, this extra check is
not necessary.
--
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]