File tree 1 file changed +2
-2
lines changed
client/packages/lowcoder/src/comps/generators
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -299,10 +299,10 @@ const UIView = React.memo((props: {
299
299
const restrictPaddingOnRotation = useMemo ( ( ) => Boolean ( defaultChildren . restrictPaddingOnRotation ) , [ defaultChildren . restrictPaddingOnRotation ] ) ;
300
300
const rotationVal = useMemo ( ( ) => {
301
301
if ( isNotContainer ) {
302
- return defaultChildren . style . children ?. rotation ?. valueAndMsg . value
302
+ return defaultChildren . style ? .children ?. rotation ?. valueAndMsg . value
303
303
}
304
304
return null ;
305
- } , [ isNotContainer , defaultChildren . style . children ?. rotation ?. valueAndMsg . value ] ) ;
305
+ } , [ isNotContainer , defaultChildren . style ? .children ?. rotation ?. valueAndMsg . value ] ) ;
306
306
const boxShadowVal = useMemo ( ( ) => {
307
307
if ( isNotContainer ) {
308
308
return defaultChildren . style ?. children ?. boxShadow ?. valueAndMsg ?. value ;
You can’t perform that action at this time.
0 commit comments