fix: onboarding address required fallback; ticket staleTime:0 for instant status refresh

This commit is contained in:
Nemo
2026-03-24 13:28:35 +08:00
parent e419f64bc2
commit d6258fc02d
2 changed files with 4 additions and 3 deletions

View File

@@ -67,6 +67,7 @@ export default function TicketDetailScreen() {
const { data: ticket, isLoading, refetch } = useQuery({
queryKey: ['task', id],
queryFn: () => api.get(`/api/v1/tickets/${id}`).then(r => r.data),
staleTime: 0,
});
// Fetch client with subscriptions when ticket loads (for prepaid gate)