mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Fixed map condition in homepage
This commit is contained in:
parent
96df2f2f05
commit
9e8317e7c0
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ export default function Home() {
|
|||
};
|
||||
function CustomMap() {
|
||||
if (dist !== null && location !== null) {
|
||||
if (dist >= 1) {
|
||||
if (dist <= 1) {
|
||||
// Just switch this condition for map debugging
|
||||
return <MapView style={styles.map} initialRegion={ustpCoords} />;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue