fix bug affecting test on phsyical device

This commit is contained in:
Arjun Patel
2018-04-19 04:06:31 -07:00
parent 249185536a
commit ec7102e73b
+2 -2
View File
@@ -23,10 +23,10 @@ type Props = {};
export default class Home extends Component<Props> { export default class Home extends Component<Props> {
componentDidMount() { componentDidMount() {
console.log('mounted'); console.log('mounted');
await AsyncStorage.getItem('longitude').then((lon) => { AsyncStorage.getItem('longitude').then((lon) => {
console.log(lon); console.log(lon);
}); });
await AsyncStorage.getItem('latitude').then((lat) => { AsyncStorage.getItem('latitude').then((lat) => {
console.log(lat); console.log(lat);
}); });
} }