cập nhật api thêm/sửa mẻ
This commit is contained in:
@@ -18,11 +18,11 @@ export default function TabLayout() {
|
||||
// TODO: xử lý khi chuyển tab ở đây
|
||||
if (prev.current === "(tabs)" && currentSegment !== "(tabs)") {
|
||||
stopEvents();
|
||||
// console.log("Stop events");
|
||||
console.log("Stop events");
|
||||
} else if (prev.current !== "(tabs)" && currentSegment === "(tabs)") {
|
||||
// we came back into the tabs group — restart polling
|
||||
startEvents();
|
||||
// console.log("start events");
|
||||
console.log("start events");
|
||||
}
|
||||
prev.current = currentSegment;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ export default function HomeScreen() {
|
||||
}
|
||||
|
||||
for (const zone of zones) {
|
||||
console.log("Zone Data: ", zone);
|
||||
// console.log("Zone Data: ", zone);
|
||||
const geom = banzoneData.find((b) => b.id === zone.zone_id);
|
||||
if (!geom) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user