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


The following commit(s) were added to refs/heads/feat-dora-config by this push:
     new 4a7a232e9 fix: useCustom just defined onece
4a7a232e9 is described below

commit 4a7a232e9ce22550e310e8dc6020cbbfba2499c9
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);

Reply via email to