Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
search core bug investigated. com.android.tools.build:gradle changed …
Browse files Browse the repository at this point in the history
…to 2.2.3
  • Loading branch information
pauwlsky committed Jan 11, 2017
1 parent 7820f9a commit bfc3bc6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion app/api/googleapi.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//TODO: user setup google api account
export var googleapi = 'AIzaSyCkNzPJ5lNJ_URmKaYIYrEU61_Yb5_Xyt0';
export var googleapi = 'AIzaSyDuThCBDxgIJ8QzAjXGPVeKLFkCThA1KmU';
5 changes: 2 additions & 3 deletions app/routes/ParkDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,14 @@ class ParkDetail extends Component {
}


componentDidMount(){
componentDidMount() {
const {currentPark} = this.props;
if (__DEV__) {
console.log(this.bannerError);
}
this.props.dispatch({type: 'UPDATE_SCENE', state: this.props.name});
}

renderAmenities({amenities}){
renderAmenities({amenities}) {
let amenityIndex = 0;
return amenities.split(', ').map(amenity => <Amenity index={amenityIndex++} key={amenity} amenity={amenity}/>)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/search_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function fetchLocationAction(address, googleapi) {
.then(function(resJson) {
if(resJson.status != 'ZERO_RESULTS') {
if (__DEV__) {
console.log(resJson.results);
console.log(resJson);
}
var region = {};
region.latitude = resJson.results[0].geometry.location.lat;
Expand Down

0 comments on commit bfc3bc6

Please sign in to comment.