File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
client/packages/lowcoder/src/comps/generators Expand file tree Collapse file tree 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: {
299299 const restrictPaddingOnRotation = useMemo ( ( ) => Boolean ( defaultChildren . restrictPaddingOnRotation ) , [ defaultChildren . restrictPaddingOnRotation ] ) ;
300300 const rotationVal = useMemo ( ( ) => {
301301 if ( isNotContainer ) {
302- return defaultChildren . style . children ?. rotation ?. valueAndMsg . value
302+ return defaultChildren . style ? .children ?. rotation ?. valueAndMsg . value
303303 }
304304 return null ;
305- } , [ isNotContainer , defaultChildren . style . children ?. rotation ?. valueAndMsg . value ] ) ;
305+ } , [ isNotContainer , defaultChildren . style ? .children ?. rotation ?. valueAndMsg . value ] ) ;
306306 const boxShadowVal = useMemo ( ( ) => {
307307 if ( isNotContainer ) {
308308 return defaultChildren . style ?. children ?. boxShadow ?. valueAndMsg ?. value ;
You can’t perform that action at this time.
0 commit comments