From d296076705a9dd07af93de42064105c2c3048f4a Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 29 Mar 2026 00:05:04 +0700 Subject: [PATCH] 690329:0005 Fixing bugr uuid by Kimi #01 --- frontend/hooks/use-reference-data.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/hooks/use-reference-data.ts b/frontend/hooks/use-reference-data.ts index 096397c..dddfa1b 100644 --- a/frontend/hooks/use-reference-data.ts +++ b/frontend/hooks/use-reference-data.ts @@ -10,7 +10,7 @@ import type { export const referenceDataKeys = { all: ['reference-data'] as const, rfaTypes: (contractId?: number | string) => [...referenceDataKeys.all, 'rfaTypes', contractId] as const, - disciplines: (contractId?: number) => [...referenceDataKeys.all, 'disciplines', contractId] as const, + disciplines: (contractId?: number | string) => [...referenceDataKeys.all, 'disciplines', contractId] as const, correspondenceTypes: () => [...referenceDataKeys.all, 'correspondenceTypes'] as const, }; @@ -53,7 +53,7 @@ export const useDeleteRfaType = () => { }; // --- Disciplines --- -export const useDisciplines = (contractId?: number) => { +export const useDisciplines = (contractId?: number | string) => { return useQuery({ queryKey: referenceDataKeys.disciplines(contractId), queryFn: () => masterDataService.getDisciplines(contractId),