fix bug affecting test on phsyical device
This commit is contained in:
+2
-2
@@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user