diff options
author | Viktor Vorona <viktor.vorona@sonarsource.com> | 2024-02-05 14:21:28 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-02-07 20:02:50 +0000 |
commit | 2194a20a846a6aae34acc3e445bf4d58fb7eaad0 (patch) | |
tree | 8101fbb62fbc87428d224cfcd9d0a9a17e4be8ea /server/sonar-web/src/main/js/apps/projectNewCode | |
parent | f26bae81f1792e329c07f28a1739275d02e4f48a (diff) | |
download | sonarqube-2194a20a846a6aae34acc3e445bf4d58fb7eaad0.tar.gz sonarqube-2194a20a846a6aae34acc3e445bf4d58fb7eaad0.zip |
SONAR-21571 Update react-query
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectNewCode')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectNewCode/components/ProjectNewCodeDefinitionApp.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectNewCode/components/ProjectNewCodeDefinitionApp.tsx b/server/sonar-web/src/main/js/apps/projectNewCode/components/ProjectNewCodeDefinitionApp.tsx index 3301953b5b7..700a997d771 100644 --- a/server/sonar-web/src/main/js/apps/projectNewCode/components/ProjectNewCodeDefinitionApp.tsx +++ b/server/sonar-web/src/main/js/apps/projectNewCode/components/ProjectNewCodeDefinitionApp.tsx @@ -73,7 +73,7 @@ function ProjectNewCodeDefinitionApp(props: Readonly<ProjectNewCodeDefinitionApp branchName: hasFeature(Feature.BranchSupport) ? undefined : branchLike?.name, projectKey: component.key, }); - const { isLoading: isSaving, mutate: postNewCodeDefinition } = useNewCodeDefinitionMutation(); + const { isPending: isSaving, mutate: postNewCodeDefinition } = useNewCodeDefinitionMutation(); const branchList = useMemo(() => { return sortBranches(branchLikes.filter(isBranch)); |