Fix some values

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