Skip to content

Commit b13f01d

Browse files
committed
refactor: change currentPhase type from string to null for better type safety in processKubeCTLApply
1 parent fd34959 commit b13f01d

File tree

1 file changed

+2
-2
lines changed
  • src/Shared/Components/DeploymentStatusBreakdown

1 file changed

+2
-2
lines changed

src/Shared/Components/DeploymentStatusBreakdown/utils.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ const processKubeCTLApply = (
121121
data: DeploymentStatusDetailsType,
122122
) => {
123123
const tableData: {
124-
currentPhase: DeploymentPhaseType | ''
124+
currentPhase: DeploymentPhaseType | null
125125
currentTableData: DeploymentStatusBreakdownItemType['subSteps']
126126
} = {
127-
currentPhase: '',
127+
currentPhase: null,
128128
currentTableData: [{ icon: 'success', message: 'Started by Argo CD' }],
129129
}
130130

0 commit comments

Comments
 (0)