likyh opened a new issue, #3366: URL: https://github.com/apache/incubator-devlake/issues/3366
## What and why to refactor https://github.com/apache/incubator-devlake/blob/24804f67423a726d955003589cc93bb773db16b2/config-ui/src/pages/blueprints/create-blueprint.jsx#L895-L925 https://github.com/apache/incubator-devlake/blob/24804f67423a726d955003589cc93bb773db16b2/config-ui/src/hooks/useDataScopesManager.jsx#L750-L775 We need to set the default value in the hook and shouldn't set it twice. By the way, it will cause bug in `edit-blueprint.jsx` ## Describe the solution you'd like delete one in `create-page.jsx` and set default value correct in the hook. -- 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]
