Skip to content

Commit 2daf2ae

Browse files
authored
Update render-function.md (#2475)
fix a typo: it should read "directive" instead of "component".
1 parent 61e4f23 commit 2daf2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/render-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ For manually resolving a registered directive by name.
242242

243243
- **Details**
244244

245-
**Note: you do not need this if you can import the component directly.**
245+
**Note: you do not need this if you can import the directive directly.**
246246

247247
`resolveDirective()` must be called inside<span class="composition-api"> either `setup()` or</span> the render function in order to resolve from the correct component context.
248248

0 commit comments

Comments
 (0)