]> Untitled Git - lemmy-ui.git/commitdiff
Rename markdown-textarea ID's
authorZetaphor <zetaphor@hey.com>
Fri, 16 Jun 2023 17:09:35 +0000 (14:09 -0300)
committerZetaphor <zetaphor@hey.com>
Fri, 16 Jun 2023 17:09:35 +0000 (14:09 -0300)
src/shared/components/common/markdown-textarea.tsx

index a4459ac0236dfef97de988603172a9f05763cc78..a3a9cbde61d624eb370fb425447723ade8bb3444 100644 (file)
@@ -63,8 +63,9 @@ export class MarkdownTextArea extends Component<
   MarkdownTextAreaProps,
   MarkdownTextAreaState
 > {
-  private id = `comment-textarea-${randomStr()}`;
-  private formId = `comment-form-${randomStr()}`;
+  private id = `markdown-textarea-${randomStr()}`;
+  private formId = `markdown-form-${randomStr()}`;
+
   private tribute: any;
 
   state: MarkdownTextAreaState = {