Skip to content

Commit 1b95cb1

Browse files
committed
fix typo
1 parent b868fd7 commit 1b95cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ type: api
943943
944944
- **Details:**
945945
946-
Called when an error from any descendent component is captured. The hook receives three arguments: the error, the component instance that triggered the error, and a string containing information on where the error was captured. The hook can return `false` to stop the error from propagating further.
946+
Called when an error from any descendant component is captured. The hook receives three arguments: the error, the component instance that triggered the error, and a string containing information on where the error was captured. The hook can return `false` to stop the error from propagating further.
947947
948948
<p class="tip">You can modify component state in this hook. However, it is important to have conditionals in your template or render function that short circuits other content when an error has been captured; otherwise the component will be thrown into an infinite render loop.</p>
949949

0 commit comments

Comments
 (0)