We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 645004d commit 60a4dd9Copy full SHA for 60a4dd9
README.md
@@ -339,7 +339,7 @@ function Greeting() {
339
<form onSubmit={handleSubmit}>
340
<label>Name</label>
341
<input id="name" />
342
- <button type="submit" onClick={handleClick}>
+ <button type="submit"}>
343
get a greeting
344
</button>
345
</form>
@@ -381,9 +381,7 @@ function Greeting() {
381
382
383
384
385
- get a greeting
386
- </button>
+ <button type="submit">get a greeting</button>
387
388
)
389
}
0 commit comments