|
@@ -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 {
|