Skip to content

Commit 28f3993

Browse files
committed
removing meme screen + adding debugging info
1 parent 13bec2f commit 28f3993

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/App.jsx

Lines changed: 1 addition & 5 deletions
Large diffs are not rendered by default.

src/components/points-of-interest/PointOfInterest.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function PointOfInterest({
3434
const [unlocked, setUnlocked] = useState(false);
3535
const { geolocationAvailable } = useContext(PermissionContext);
3636

37+
console.log(lat, long);
3738
useEffect(() => {
3839
if (
3940
latitude &&
@@ -48,6 +49,7 @@ function PointOfInterest({
4849
latitude,
4950
longitude
5051
);
52+
console.log(distance);
5153
setProximity(distance);
5254
if (!unlocked && id === nextUnlockableId) {
5355
setUnlocked(distance < 51); // todo magic number/get from config

0 commit comments

Comments
 (0)