File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
client/packages/lowcoder/src/comps/comps/buttonComp Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,7 @@ const ToggleTmpComp = (function () {
87
87
} }
88
88
>
89
89
{ props . iconPosition === "right" && text }
90
- {
91
- < IconWrapper >
92
- { props . value . value ? props . trueIcon : props . falseIcon }
93
- </ IconWrapper >
94
- }
90
+ { < IconWrapper > { props . value . value ? props . trueIcon : props . falseIcon } </ IconWrapper > }
95
91
{ props . iconPosition === "left" && text }
96
92
</ Button100 >
97
93
</ ButtonCompWrapperStyled >
@@ -106,10 +102,8 @@ const ToggleTmpComp = (function () {
106
102
} ) }
107
103
</ Section >
108
104
109
- { ( useContext ( EditorContext ) . editorModeStatus === "logic" ||
110
- useContext ( EditorContext ) . editorModeStatus === "both" ) && (
111
- < >
112
- < Section name = { sectionNames . interaction } >
105
+ { ( useContext ( EditorContext ) . editorModeStatus === "logic" || useContext ( EditorContext ) . editorModeStatus === "both" ) && (
106
+ < > < Section name = { sectionNames . interaction } >
113
107
{ children . onEvent . getPropertyView ( ) }
114
108
{ disabledPropertyView ( children ) }
115
109
{ hiddenPropertyView ( children ) }
You can’t perform that action at this time.
0 commit comments