We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40ea071 commit 4ad899bCopy full SHA for 4ad899b
src/content/learn/reacting-to-input-with-state.md
@@ -468,7 +468,7 @@ function submitForm(answer) {
468
// Pretend it's hitting the network.
469
return new Promise((resolve, reject) => {
470
setTimeout(() => {
471
- let shouldError = answer.toLowerCase() !== 'lima'
+ const shouldError = answer.toLowerCase() !== 'lima'
472
if (shouldError) {
473
reject(new Error('Good guess but a wrong answer. Try again!'));
474
} else {
0 commit comments