File tree 1 file changed +3
-8
lines changed
client/packages/lowcoder/src/comps/comps/jsonComp
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ function fixOldDataSecond(oldData: any) {
62
62
}
63
63
64
64
const childrenMap = {
65
- value : jsonValueExposingStateControl ( ' value' , defaultData ) ,
65
+ value : jsonValueExposingStateControl ( " value" , defaultData ) ,
66
66
onEvent : ChangeEventHandlerControl ,
67
- label : withDefault ( LabelControl , { position : ' column' } ) ,
67
+ label : withDefault ( LabelControl , { position : " column" } ) ,
68
68
style : styleControl ( JsonEditorStyle ) ,
69
69
animationStyle : styleControl ( AnimationStyle ) ,
70
70
@@ -119,12 +119,7 @@ let JsonEditorTmpComp = (function () {
119
119
return props . label ( {
120
120
style : props . style ,
121
121
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" ) } /> ,
128
123
} ) ;
129
124
} )
130
125
. setPropertyViewFn ( ( children ) => {
You can’t perform that action at this time.
0 commit comments