refactor: Add custom hooks for context access in various contexts
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled

This commit is contained in:
2025-12-14 20:24:18 -08:00
parent 8274f4c871
commit 82b7ce82e7
21 changed files with 78 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
// src/hooks/useWatchedItems.tsx
import { useMemo, useCallback } from 'react';
import { useAuth } from './useAuth';
import { useAuth } from '../contexts/AuthContext';
import { useApi } from './useApi';
import { useUserData } from './useUserData';
import * as apiClient from '../services/apiClient';