소스 검색

Update PincodeScreen.js

Orlando04 2 년 전
부모
커밋
86e20f6f7a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      MocionesIUPI/screens/PincodeScreen.js

+ 1
- 1
MocionesIUPI/screens/PincodeScreen.js 파일 보기

@@ -20,7 +20,7 @@ export default class App extends React.Component {
20 20
     pinInput = React.createRef();
21 21
   
22 22
     _checkCode = (code) => {
23
-      if (code != this.props.navigation.state.params.Pin) {
23
+      if (code != this.props.navigation.state.params.Pin) { //this is for recieving the parameters from another screen
24 24
         this.pinInput.current.shake()
25 25
           .then(() => this.setState({ code: '' }));
26 26
       } else {