Add an user comment to typo approving form

parent 2e1ad852
......@@ -64,7 +64,7 @@ export default class Typo extends Component {
_highlightTypoInContext() {
const original = this._escapeHtml(this.typo.originalText);
const corrected = this._escapeHtml(this.typo.correctedText);
const comment = this._escapeHtml(this.typo.comment);
const context = this._escapeHtml(this.typo.context);
// Экранируем символы, которые мешают использовать регулярные выражения
......@@ -137,7 +137,7 @@ export default class Typo extends Component {
</div>
</CardBody>
<CardFooter>
<p>Тут должен отображаться комментарий</p>
<p>Комментарий: "{typo.comment}"</p>
Добавлена <small>{typo.date}</small>
</CardFooter>
</Card>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment