File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const CommentForm = (props) => {
1313 addComment,
1414 comment,
1515 setComment,
16- submitButtonText
16+ cta
1717 } = props
1818
1919 const { register, errors, handleSubmit } = useForm ( )
@@ -57,7 +57,7 @@ const CommentForm = (props) => {
5757 </ div >
5858 { errors . Comments && < FormError message = 'Reply cannot be empty' /> }
5959 < MediaPreview attachments = { attachments } setAttachments = { setAttachments } />
60- < Button className = 'btn btn-default' > { submitButtonText } </ Button >
60+ < Button className = 'btn btn-default' > { cta } </ Button >
6161 </ form >
6262 )
6363}
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ const Comments = (props) => {
226226 addComment = { addCommentReply }
227227 comment = { commentReply }
228228 setComment = { setCommentReply }
229- submitButtonText = { 'Add Reply' }
229+ cta = { 'Add Reply' }
230230 />
231231 ) }
232232 </ div >
@@ -245,7 +245,7 @@ const Comments = (props) => {
245245 addComment = { addComment }
246246 comment = { comment }
247247 setComment = { setComment }
248- submitButtonText = { 'Add Comment' }
248+ cta = { 'Add Comment' }
249249 />
250250 </ div >
251251 ) }
You can’t perform that action at this time.
0 commit comments