Skip to content

Commit 741202f

Browse files
committed
formating removed-42
1 parent bc89577 commit 741202f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

client/packages/lowcoder/src/comps/comps/jsonComp/jsonEditorComp.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ function fixOldDataSecond(oldData: any) {
6262
}
6363

6464
const childrenMap = {
65-
value: jsonValueExposingStateControl('value', defaultData),
65+
value: jsonValueExposingStateControl("value", defaultData),
6666
onEvent: ChangeEventHandlerControl,
67-
label: withDefault(LabelControl, {position: 'column'}),
67+
label: withDefault(LabelControl, { position: "column" }),
6868
style: styleControl(JsonEditorStyle),
6969
animationStyle: styleControl(AnimationStyle),
7070

@@ -119,12 +119,7 @@ let JsonEditorTmpComp = (function () {
119119
return props.label({
120120
style: props.style,
121121
animationStyle: props.animationStyle,
122-
children: (
123-
<Wrapper
124-
ref={wrapperRef}
125-
onFocus={() => (editContent.current = 'focus')}
126-
/>
127-
),
122+
children: <Wrapper ref={wrapperRef} onFocus={() => (editContent.current = "focus")} />,
128123
});
129124
})
130125
.setPropertyViewFn((children) => {

0 commit comments

Comments
 (0)