Skip to content

Commit 534e45c

Browse files
committed
formating removed-71
1 parent 0a60384 commit 534e45c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

client/packages/lowcoder/src/comps/comps/textComp.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ let TextTmpComp = (function () {
124124
const childrenMap = {
125125
text: stringExposingStateControl(
126126
"text",
127-
trans("textShow.text", { name: "{{ currentUser.name}}" })
127+
trans("textShow.text", { name: "{{currentUser.name}}" })
128128
),
129129
autoHeight: AutoHeightControl,
130130
type: dropdownControl(typeOptions, "markdown"),
@@ -148,11 +148,7 @@ let TextTmpComp = (function () {
148148
textAlign: props.horizontalAlignment,
149149
}}
150150
>
151-
{props.type === "markdown" ? (
152-
<TacoMarkDown>{value}</TacoMarkDown>
153-
) : (
154-
value
155-
)}
151+
{props.type === "markdown" ? <TacoMarkDown>{value}</TacoMarkDown> : value}
156152
</TextContainer>
157153
);
158154
})

0 commit comments

Comments
 (0)