Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a80dae6

Browse files
fixed missing children error
1 parent 33a4848 commit a80dae6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /