Skip to content

Commit 0bdf34f

Browse files
committed
formating removed-61
1 parent 695137a commit 0bdf34f

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

client/packages/lowcoder/src/comps/comps/selectInputComp/cascaderContants.tsx

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,38 +46,35 @@ export const CascaderChildren = {
4646
};
4747

4848
export const CascaderPropertyView = (
49-
children: RecordConstructorToComp<
50-
typeof CascaderChildren & {hidden: typeof BoolCodeControl}
51-
>
49+
children: RecordConstructorToComp<typeof CascaderChildren & { hidden: typeof BoolCodeControl }>
5250
) => (
5351
<>
5452
<Section name={sectionNames.basic}>
55-
{children.options.propertyView({label: trans('cascader.options')})}
56-
{children.value.propertyView({label: trans('prop.defaultValue')})}
53+
{children.options.propertyView({ label: trans("cascader.options") })}
54+
{children.value.propertyView({ label: trans("prop.defaultValue") })}
5755
{placeholderPropertyView(children)}
5856
</Section>
5957

60-
{['logic', 'both'].includes(useContext(EditorContext).editorModeStatus) && (
58+
{["logic", "both"].includes(useContext(EditorContext).editorModeStatus) && (
6159
<Section name={sectionNames.interaction}>
6260
{children.onEvent.getPropertyView()}
6361
{disabledPropertyView(children)}
6462
{hiddenPropertyView(children)}
6563
</Section>
6664
)}
6765

68-
{['layout', 'both'].includes(useContext(EditorContext).editorModeStatus) &&
69-
children.label.getPropertyView()}
66+
{["layout", "both"].includes(useContext(EditorContext).editorModeStatus) && (
67+
children.label.getPropertyView()
68+
)}
7069

71-
{['logic', 'both'].includes(useContext(EditorContext).editorModeStatus) && (
70+
{["logic", "both"].includes(useContext(EditorContext).editorModeStatus) && (
7271
<Section name={sectionNames.advanced}>
7372
{allowClearPropertyView(children)}
7473
{showSearchPropertyView(children)}
7574
</Section>
7675
)}
7776

78-
{['layout', 'both'].includes(
79-
useContext(EditorContext).editorModeStatus
80-
) && (
77+
{["layout", "both"].includes(useContext(EditorContext).editorModeStatus) && (
8178
<>
8279
<Section name={sectionNames.style}>
8380
{children.style.getPropertyView()}

0 commit comments

Comments
 (0)