Files
Aiq-Lite-UI/src/app/queryClient.ts
Toba Ojo 276dcd26ed Add video feed feature with related components and hooks
- Implemented VideoFeed component to display sightings.
- Created useSightingList and useVideoFeed hooks for data fetching and state management.
- Added AppProviders for context management.
- Updated Dashboard to include VideoFeed.
- Introduced types for sightings in utils/types.tsx.
- Added Header and Footer components for layout.
- Configured React Query for data handling.
2025-12-19 16:04:06 +00:00

11 lines
210 B
TypeScript

import { QueryClient } from "@tanstack/react-query";
export const queryClient = new QueryClient({
defaultOptions: {
queries: {
staleTime: 60_000,
refetchOnWindowFocus: false,
},
},
});