File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ export default () => {
36
36
params : {
37
37
limit : 50 ,
38
38
// TODO: change to device location
39
- location : "seattle" ,
40
- // latitude: position.lat,
41
- // longitude: position.long,
39
+ // location: "seattle",
40
+ latitude : position . lat ,
41
+ longitude : position . long ,
42
42
offset : offset ,
43
43
term : initialSearch
44
44
}
@@ -60,9 +60,9 @@ export default () => {
60
60
offset : offset ,
61
61
term : initialSearch ,
62
62
// TODO: change to device location
63
- location : "seattle" ,
64
- // latitude: position.lat,
65
- // longitude: position.long,
63
+ // location: "seattle",
64
+ latitude : position . lat ,
65
+ longitude : position . long ,
66
66
radius : 8046
67
67
}
68
68
} ) ;
@@ -74,7 +74,7 @@ export default () => {
74
74
} ;
75
75
76
76
useEffect ( ( ) => {
77
- // getLocation();
77
+ getLocation ( ) ;
78
78
} , [ ] ) ;
79
79
return [
80
80
located ,
You can’t perform that action at this time.
0 commit comments