Skip to content

Commit 17ed925

Browse files
committed
unused variable removed
1 parent c8ba492 commit 17ed925

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/packages/lowcoder/src/comps/generators/uiCompBuilder.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ function UIView(props: {
248248

249249
let defaultChildren = comp.children;
250250
const isNotContainer = defaultChildren.hasOwnProperty('style');
251-
const restrictPaddingOnRotation = defaultChildren.hasOwnProperty('restrictPaddingOnRotation');
252251
let rotationVal = null
253252
let boxShadowVal = null;
254253
if (isNotContainer) {
@@ -266,7 +265,7 @@ function UIView(props: {
266265
margin: '0px',
267266
// padding:'0px',
268267
padding: (
269-
rotationVal === null || rotationVal === undefined || restrictPaddingOnRotation
268+
rotationVal === null || rotationVal === undefined
270269
? '0px'
271270
: (
272271
boxShadowVal === null || boxShadowVal === undefined

0 commit comments

Comments
 (0)