claude 1 - fixes : -/
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 24m33s

This commit is contained in:
2026-01-08 22:30:21 -08:00
parent 62470e7661
commit 74a5ca6331
14 changed files with 509 additions and 456 deletions

View File

@@ -1,6 +1,6 @@
// src/hooks/queries/useSuggestedCorrectionsQuery.ts
import { useQuery } from '@tanstack/react-query';
import { apiClient } from '../../services/apiClient';
import { getSuggestedCorrections } from '../../services/apiClient';
import type { SuggestedCorrection } from '../../types';
/**
@@ -16,7 +16,7 @@ export const useSuggestedCorrectionsQuery = () => {
return useQuery({
queryKey: ['suggested-corrections'],
queryFn: async (): Promise<SuggestedCorrection[]> => {
const response = await apiClient.getSuggestedCorrections();
const response = await getSuggestedCorrections();
if (!response.ok) {
const error = await response.json().catch(() => ({