import React, { useCallback, useState } from 'react'; import { RefreshControl, ScrollView, StyleSheet, Text, TouchableOpacity, View } from 'react-native'; import { useFocusEffect, useNavigation } from '@react-navigation/native'; import type { NativeStackNavigationProp } from '@react-navigation/native-stack'; import { ps } from '@/api/client'; import { useAuth } from '@/auth/AuthContext'; import { useTheme } from '@/theme/ThemeContext'; import type { RootStackParamList } from '@/navigation/RootNavigator'; import type { ActiveSession, PastSession } from 'parksmarter-client'; type Nav = NativeStackNavigationProp; export function SessionsScreen() { const { colors } = useTheme(); const navigation = useNavigation