You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2024/09/24 09:11:47 UTC
(incubator-devlake) 15/48: fix: useCustom just defined onece
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 afe4f16f9d6a7c545458f61de92c07468541ee34
Author: mintsweet <0x...@gmail.com>
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);