mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Format with Prettier and turn off debug flag
This commit is contained in:
parent
cbd82a05f9
commit
05cee78d31
1 changed files with 4 additions and 5 deletions
|
@ -50,7 +50,7 @@ import AnimatedContainerNoScroll from "../../components/AnimatedContainer/Animat
|
|||
|
||||
export default function Home() {
|
||||
// Switch this condition to see the main map when debugging
|
||||
const map_distance_override = true;
|
||||
const map_distance_override = false;
|
||||
const navigation = useNavigation<RootDrawerParamList>();
|
||||
const [location, setLocation] = useState<RawLocationType | null>(null);
|
||||
const [locationPermitted, setLocationPermitted] = useState(false);
|
||||
|
@ -89,7 +89,6 @@ export default function Home() {
|
|||
|
||||
setLocation(newLocation);
|
||||
await DistanceHandler(newLocation);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -417,7 +416,7 @@ export default function Home() {
|
|||
} else if (
|
||||
study_groups == undefined ||
|
||||
study_groups_global == undefined ||
|
||||
student_statuses == undefined||
|
||||
student_statuses == undefined ||
|
||||
student_statuses_global == undefined
|
||||
) {
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue