Remove likely outdated warning.

Replacing '() => field.focus()' with '{field.focus}' doesn't throw an error.

If 'can't do `{field.focus}`' refers to reading that value in the HTML section of the file then there's earlier files where this warning should be placed.
pull/7896/head
Itay-Kirsh 4 years ago committed by GitHub
parent ee5479d00e
commit 1fd91f5e18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,5 +19,3 @@ Now we can programmatically interact with this component using `field`.
Focus field
</button>
```
> Note that we can't do `{field.focus}` since field is undefined when the button is first rendered and throws an error.

Loading…
Cancel
Save