Skip to content

Commit c28c62f

Browse files
committed
[Fix] antD deprecated properties
1 parent 540af6f commit c28c62f

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

client/packages/lowcoder/src/pages/setting/environments/EnvironmentDetail.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ const EnvironmentDetail: React.FC = () => {
300300
<Card
301301
size="small"
302302
style={{ height: '100%', textAlign: 'center' }}
303-
bodyStyle={{ padding: '16px' }}
303+
styles={{ body: { padding: '16px' } }}
304304
>
305305
<Statistic
306306
title="API Calls Remaining"
@@ -343,7 +343,7 @@ const EnvironmentDetail: React.FC = () => {
343343
<Card
344344
size="small"
345345
style={{ height: '100%', textAlign: 'center' }}
346-
bodyStyle={{ padding: '16px' }}
346+
styles={{ body: { padding: '16px' } }}
347347
>
348348
<Statistic
349349
title="Total API Calls Limit"
@@ -365,7 +365,7 @@ const EnvironmentDetail: React.FC = () => {
365365
<Card
366366
size="small"
367367
style={{ height: '100%', textAlign: 'center' }}
368-
bodyStyle={{ padding: '16px' }}
368+
styles={{ body: { padding: '16px' } }}
369369
>
370370
<Statistic
371371
title="Enterprise Edition"
@@ -399,7 +399,7 @@ const EnvironmentDetail: React.FC = () => {
399399
border: '1px solid #f0f0f0',
400400
borderRadius: '6px'
401401
}}
402-
bodyStyle={{ padding: '12px' }}
402+
styles={{ body: { padding: '12px' } }}
403403
>
404404
<div style={{ marginBottom: '8px' }}>
405405
<strong style={{ color: '#262626' }}>

client/packages/lowcoder/src/pages/setting/environments/components/EnvironmentsTable.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ const EnvironmentsTable: React.FC<EnvironmentsTableProps> = ({
287287
)}
288288
size="small"
289289
showInfo={false}
290-
strokeWidth={4}
291290
/>
292291
<div style={{
293292
display: 'flex',

client/packages/lowcoder/src/pages/setting/environments/config/workspace.config.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ export const workspaceConfig: DeployableItemConfig = {
1717
if (!item.gid) {
1818
console.error('Missing workspace.gid when deploying workspace:', item);
1919
}
20-
console.log('item.gid', item.gid);
2120

2221
return {
2322
envId: sourceEnv.environmentId,
2423
targetEnvId: targetEnv.environmentId,
2524
workspaceId: item.gid,
26-
// Removed deployCredential parameter
2725
};
2826
},
2927
execute: (params: any) => deployWorkspace(params)

0 commit comments

Comments
 (0)