fix: SlideToConfirm stale closure — live refs for disabled + onConfirm; horizontal-only drag on iOS

This commit is contained in:
Nemo
2026-03-25 05:43:44 +08:00
parent 831dd6d5a9
commit 295c32e6e7
2 changed files with 15 additions and 5 deletions

View File

@@ -9,7 +9,6 @@ import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
import * as Location from 'expo-location';
import { api } from '../../../services/api';
import { useAuthStore } from '../../../stores/authStore';
import { SlideToConfirm } from '../../../components/SlideToConfirm';
// ─── Constants ────────────────────────────────────────────────────────────────
const STATUS_FLOW = ['OPEN', 'IN_PROGRESS', 'RESOLVED', 'CLOSED'] as const;