This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch feat-dora-config in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit ab50c2e49a01554fe74d5a286ef3166d73194aa5 Author: mintsweet <[email protected]> AuthorDate: Sat Sep 14 12:14:50 2024 +1200 fix: useCustom just defined onece --- config-ui/src/plugins/register/github/transformation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-ui/src/plugins/register/github/transformation.tsx b/config-ui/src/plugins/register/github/transformation.tsx index d8ec7cae1..c4398c629 100644 --- a/config-ui/src/plugins/register/github/transformation.tsx +++ b/config-ui/src/plugins/register/github/transformation.tsx @@ -50,7 +50,7 @@ export const GitHubTransformation = ({ } else { setUseCustom(false); } - }, [transformation]); + }, []); useEffect(() => { setHasError(useCustom && !transformation.deploymentPattern);
