Skip to content

Commit a561826

Browse files
author
baxtergu
committed
fix: change the way local state translated
1 parent a1d47de commit a561826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/lifting-state-up.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function tryConvert(temperature, convert) {
150150

151151
## 状态提升 {#lifting-state-up}
152152

153-
到目前为止, 两个 `TemperatureInput` 组件均在各自本地的 state 中相互独立地保存着各自的数据。
153+
到目前为止, 两个 `TemperatureInput` 组件均在各自内部的 state 中相互独立地保存着各自的数据。
154154

155155
```js{5,9,13}
156156
class TemperatureInput extends React.Component {

0 commit comments

Comments
 (0)