From 1fd91f5e1865efffa426d243e220a7094bfe0ff5 Mon Sep 17 00:00:00 2001 From: Itay-Kirsh Date: Sun, 25 Sep 2022 02:05:27 +0100 Subject: [PATCH] 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. --- site/content/tutorial/06-bindings/14-component-this/text.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/site/content/tutorial/06-bindings/14-component-this/text.md b/site/content/tutorial/06-bindings/14-component-this/text.md index e389dbbacf..f19b9246ca 100644 --- a/site/content/tutorial/06-bindings/14-component-this/text.md +++ b/site/content/tutorial/06-bindings/14-component-this/text.md @@ -19,5 +19,3 @@ Now we can programmatically interact with this component using `field`. Focus field ``` - -> Note that we can't do `{field.focus}` since field is undefined when the button is first rendered and throws an error.