Skip to content

Commit 57cfa4b

Browse files
authored
Apply suggestions from code review
1 parent 132b340 commit 57cfa4b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/content/reference/react/Component.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,10 +1293,10 @@ class ErrorBoundary extends React.Component {
12931293
logErrorToMyService(
12941294
error,
12951295
// 示例“组件堆栈”:
1296-
// 在 ComponentThatThrows 中(由 App 创建)
1297-
// 在 ErrorBoundary 中(由 APP 创建)
1298-
// 在 div 中(由 APP 创建)
1299-
// 在 App 中
1296+
// 在 ComponentThatThrows 中(由 App 创建)
1297+
// 在 ErrorBoundary 中(由 APP 创建)
1298+
// 在 div 中(由 APP 创建)
1299+
// 在 App 中
13001300
info.componentStack,
13011301
// 仅在 react@canary 版本可用
13021302
// 警告:Owner Stack 在生产中不可用

0 commit comments

Comments
 (0)