mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Fixed condition in homepage
This commit is contained in:
parent
b43577870b
commit
cd85852c9b
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export default function Home() {
|
||||||
|
|
||||||
function CustomMap() {
|
function CustomMap() {
|
||||||
if (dist && location) {
|
if (dist && location) {
|
||||||
if (dist >= 2) {
|
if (dist <= 2) {
|
||||||
// Just switch this condition for map debugging
|
// Just switch this condition for map debugging
|
||||||
return (
|
return (
|
||||||
<AnimatedMapView
|
<AnimatedMapView
|
||||||
|
|
Loading…
Reference in a new issue