From 7875583aea10279585b0ededbfca2f7b221b2a13 Mon Sep 17 00:00:00 2001 From: Will Cosgrove Date: Mon, 2 Sep 2024 21:07:57 -0500 Subject: [PATCH] typo --- guide/under-the-hood.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/under-the-hood.md b/guide/under-the-hood.md index 5fc2043..b9d3e02 100644 --- a/guide/under-the-hood.md +++ b/guide/under-the-hood.md @@ -326,7 +326,7 @@ class HelloWorld < Component end ``` -To get this to work, we’ll need to find the point where we yield and make it `yielf(self)`. We could do this in the `div` method, but there’s a better way. +To get this to work, we’ll need to find the point where we yield and make it `yield(self)`. We could do this in the `div` method, but there’s a better way. When the block comes into `call`, we can wrap it in a new block that yields `self`. This way, it will always yield the component instance even if we forget to.