From 4731437a6049c860ece7fc13772860df6be98b9e Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 23 Sep 2019 11:36:05 -0300 Subject: Ajustes de respuesta rĂ¡pida --- src/ReplyForm.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/ReplyForm.js') diff --git a/src/ReplyForm.js b/src/ReplyForm.js index 564ed88..6ef025a 100644 --- a/src/ReplyForm.js +++ b/src/ReplyForm.js @@ -8,7 +8,10 @@ class ReplyForm extends Component { this.state = { name: "", email: "", - message: "", + message: + this.props.replyIndex !== null + ? ">>" + this.props.replyIndex + "\n" + : "", attachment: "", submittedName: "", submittedEmail: "", @@ -73,7 +76,7 @@ class ReplyForm extends Component { render() { const { name, email, message, replyRes, attachment } = this.state; - const { currentBoard, nightMode } = this.props; + const { currentBoard, nightMode, quickReply } = this.props; if (this.props.locked === 1) { return ( @@ -83,7 +86,7 @@ class ReplyForm extends Component { ); } return ( - + {replyRes !== null ? ( replyRes.state === "success" ? ( -- cgit v1.2.1-18-gbd029