From 4e730f93ea41447686bd2d7ecef88221df5c24a1 Mon Sep 17 00:00:00 2001 From: zhou-yinyuan Date: Thu, 19 Sep 2024 11:03:57 +0800 Subject: [PATCH] ADM-1009 [frontend]: fix comments --- .../src/hooks/useGetSourceControlConfigurationBranchEffect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/useGetSourceControlConfigurationBranchEffect.tsx b/frontend/src/hooks/useGetSourceControlConfigurationBranchEffect.tsx index 4df287817..5b15f57af 100644 --- a/frontend/src/hooks/useGetSourceControlConfigurationBranchEffect.tsx +++ b/frontend/src/hooks/useGetSourceControlConfigurationBranchEffect.tsx @@ -81,7 +81,7 @@ export const useGetSourceControlConfigurationBranchEffect = (): IUseGetSourceCon const code: number = response.code as number; if (code >= 400 && code < 500) { setStepFailedStatus(MetricsDataFailStatus.AllFailed4xx); - } else if (response.code == 200) { + } else if (response.code === 200) { setIsGetBranch(true); dispatch( updateSourceControlVerifiedResponse({