Skip to content

Commit 0703026

Browse files
authored
fix(template): 修复template登陆密码更新错误 (#231)
* chore: update react-native0.69.3 to react-native0.70.5 * doc: update README * fix: 修复android运行报错 * released v5.0.0 * chore: update react-native0.70.5 to react-native0.70.6 * chore: 升级ios/android配置 * released v5.1.0 * fix(deps): 增加react-query请求 * fix(template): 修复template登陆密码更新错误
1 parent 63d154e commit 0703026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

HelloWorld/src/pages/SignIn/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const SigninScreen = ({
8383
autoCompleteType="password"
8484
secureTextEntry={true}
8585
style={styles.input}
86-
onChangeText={(text) => update({ ...store, formData: { ...formData, password: text } })}
86+
onChangeText={(text) => setStore({ ...store, formData: { ...formData, password: text } })}
8787
/>
8888
<Spacing size={23} />
8989
<Button

template/template/src/pages/SignIn/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const SigninScreen = ({
8383
autoCompleteType="password"
8484
secureTextEntry={true}
8585
style={styles.input}
86-
onChangeText={(text) => update({ ...store, formData: { ...formData, password: text } })}
86+
onChangeText={(text) => setStore({ ...store, formData: { ...formData, password: text } })}
8787
/>
8888
<Spacing size={23} />
8989
<Button

0 commit comments

Comments
 (0)