Skip to content

Commit d7c1b1f

Browse files
committed
chore: code feedback fixes
1 parent 048b271 commit d7c1b1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/app/details/appDetails/DeployedCommitCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ const DeployedCommitCard = ({ cardLoading, showCommitInfoDrawer, envId, ciArtifa
7777
</div>
7878
</div>
7979
<GitProviderIcon gitRepoUrl={lastCommit?.commitURL} size={24} />
80-
{/* @TODO: This should be dynamic, dependent on the source */}
8180
</div>
8281
<div className="app-details-info-card__bottom-container dc__content-space">
8382
<span className="app-details-info-card__bottom-container__message fs-12 fw-4">

src/components/material/MaterialView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import {
3737
ButtonComponentType,
3838
Icon,
3939
InfoBlock,
40+
GitProviderIcon,
4041
} from '@devtron-labs/devtron-fe-common-lib'
4142
import Tippy from '@tippyjs/react'
4243
import { MaterialViewProps, MaterialViewState } from './material.types'
@@ -606,7 +607,7 @@ export class MaterialView extends Component<MaterialViewProps, MaterialViewState
606607
...provider,
607608
value: provider.id,
608609
label: provider.name,
609-
startIcon: getGitProviderIcon(provider.url),
610+
startIcon: <GitProviderIcon gitRepoUrl={provider.url} />,
610611
})
611612

612613
handleGitProviderChange: SelectPickerProps['onChange'] = (selected) => {

0 commit comments

Comments
 (0)