Fix some values

parent 710ef58e
......@@ -92,14 +92,14 @@ class TypoModal extends Component {
// Typo text
text: this.state.text,
// Corrected variant (legacy name "comment")
comment: this.state.correct,
// This is a comment for a correction
comment: this.state.comment,
// TODO: context
context: this.state.context,
// This is a comment for a correction
note: this.state.comment,
// This is a correct variant
corrected: this.state.correct,
}
try {
......
export const config = {
maxTypoLength: 50,
minTypoLength: 4,
maxCorrectLength: 100,
maxTypoLength: 30,
minTypoLength: 5,
maxCorrectLength: 50,
minCorrectLength: 1,
//serverUrl: "//eterfund.ru/api/typos/server.php",
......
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