Skip to content

Commit 2bb1441

Browse files
committed
formating removed-87
1 parent 378abcf commit 2bb1441

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import {
3838
} from "comps/controls/styleControlConstants";
3939
// Initialise exposed values
4040
import { stateComp, valueComp } from "comps/generators/simpleGenerators";
41-
// The component's api for exposing properties externally
41+
// The component"s api for exposing properties externally
4242
import {
4343
NameConfig,
4444
NameConfigHidden,
@@ -86,26 +86,26 @@ const EventOptions = [
8686

8787
const childrenMap = {
8888
value: jsonControl(convertCommentData, commentDate),
89-
title: withDefault(StringControl, trans('comment.titledDefaultValue')),
90-
placeholder: withDefault(StringControl, trans('comment.placeholder')),
91-
buttonText: withDefault(StringControl, trans('comment.buttonText')),
89+
title: withDefault(StringControl, trans("comment.titledDefaultValue")),
90+
placeholder: withDefault(StringControl, trans("comment.placeholder")),
91+
buttonText: withDefault(StringControl, trans("comment.buttonText")),
9292
sendCommentAble: BoolControl.DEFAULT_TRUE,
9393
deleteAble: BoolControl,
9494
userInfo: jsonControl(checkUserInfoData, {
95-
name: '{{currentUser.name}}',
96-
email: '{{currentUser.email}}',
95+
name: "{{currentUser.name}}",
96+
email: "{{currentUser.email}}",
9797
}),
9898
mentionList: jsonControl(checkMentionListData, {
99-
'@': ['Li Lei', 'Han Meimei'],
100-
'#': ['123', '456', '789'],
99+
"@": ["Li Lei", "Han Meimei"],
100+
"#": ["123", "456", "789"],
101101
}),
102102
onEvent: eventHandlerControl(EventOptions),
103103
style: styleControl(CommentStyle),
104104
animationStyle: styleControl(AnimationStyle),
105-
commentList: jsonValueExposingStateControl('commentList', []),
106-
deletedItem: jsonValueExposingStateControl('deletedItem', []),
107-
submitedItem: jsonValueExposingStateControl('submitedItem', []),
108-
mentionName: valueComp<string>(''),
105+
commentList: jsonValueExposingStateControl("commentList", []),
106+
deletedItem: jsonValueExposingStateControl("deletedItem", []),
107+
submitedItem: jsonValueExposingStateControl("submitedItem", []),
108+
mentionName: valueComp<string>(""),
109109
};
110110

111111
const CommentCompBase = (
@@ -253,7 +253,7 @@ const CommentCompBase = (
253253
<List
254254
header={
255255
title !== "" ? (
256-
<div style={{position: 'sticky', top:0, background: style.background}}>
256+
<div style={{position: "sticky", top:0, background: style.background}}>
257257
{commentListData.length > 1
258258
? title
259259
.replaceAll("%d", commentListData.length.toString())

0 commit comments

Comments
 (0)