Skip to content

Commit 33b0bb7

Browse files
linting
1 parent 9ed59ec commit 33b0bb7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/components/ControlPlane/ManagedResources.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,10 @@ export function ManagedResources() {
125125
width: 75,
126126
accessor: 'yaml',
127127
disableFilters: true,
128-
Cell: (cellData: CellData<ResourceRow>) => {
129-
return cellData.cell.row.original?.item ? (
128+
Cell: (cellData: CellData<ResourceRow>) =>
129+
cellData.cell.row.original?.item ? (
130130
<YamlViewButton resourceObject={cellData.cell.row.original?.item} />
131-
) : undefined;
132-
},
131+
) : undefined,
133132
},
134133
{
135134
Header: ' ',

src/components/Dialogs/ManagedResourceDeleteDialog.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,11 @@ export const ManagedResourceDeleteDialog: FC<Props> = ({ kindMapping, open, onCl
115115
onToggle={() => !forceDeletion && setAdvancedCollapsed((v) => !v)}
116116
>
117117
<FlexBox direction="Column" className={styles.advancedOptionsContent}>
118-
<CheckBox checked={forceDeletion} text={t('ManagedResources.forceDeletion')} onChange={handleForceDeletionChange} />
118+
<CheckBox
119+
checked={forceDeletion}
120+
text={t('ManagedResources.forceDeletion')}
121+
onChange={handleForceDeletionChange}
122+
/>
119123
<MessageStrip design="Critical" hideCloseButton>
120124
<span>{t('ManagedResources.forceWarningLine')}</span>
121125
</MessageStrip>

0 commit comments

Comments
 (0)