We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db0eb45 commit 4b0d1bbCopy full SHA for 4b0d1bb
src/components/viewer/comment/CommentArea.tsx
@@ -297,13 +297,7 @@ const CommentActions = ({
297
</p>
298
</Alert>
299
</div>
300
- {replyTo === comment && (
301
- <CommentForm
302
- inputAutoFocus
303
- className="mt-4"
304
- placeholder={`回复 @${comment.uploader}:`}
305
- />
306
- )}
+ {replyTo === comment && <CommentForm inputAutoFocus className="mt-4" />}
307
308
)
309
}
src/components/viewer/comment/CommentForm.tsx
@@ -21,7 +21,7 @@ export interface CommentFormProps {
21
export const CommentForm = ({
22
className,
23
primary,
24
- placeholder = '发表一条评论吧',
+ placeholder = '发一条友善的评论吧',
25
inputAutoFocus,
26
}: CommentFormProps) => {
27
const { operationId, replyTo, reload } = useContext(CommentAreaContext)
0 commit comments