Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Commit 4db7676

Browse files
authored
fix(docs): fix vanillaEmbolden in fragment example
1 parent b7b956c commit 4db7676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const vanillaEmbolden = word => {
160160
return frag
161161
}
162162
163-
render(html`<div>Hello ${embolden('world')}!</div>`, document.body)
163+
render(html`<div>Hello ${vanillaEmbolden('world')}!</div>`, document.body)
164164
// ^ Renders `<div>Hello <strong>world</strong>!</div>`
165165
```
166166

0 commit comments

Comments
 (0)