From e8abe63560245e8ce09b0bcfbc4dcebc441e3bdc Mon Sep 17 00:00:00 2001 From: Alisher Musurmonov Date: Fri, 25 Oct 2024 20:28:53 +0500 Subject: [PATCH] fix hook key --- .../consortia/useConsortiumLocations/useConsortiumLocations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hooks/consortia/useConsortiumLocations/useConsortiumLocations.js b/lib/hooks/consortia/useConsortiumLocations/useConsortiumLocations.js index 029a4665..b98acc0a 100644 --- a/lib/hooks/consortia/useConsortiumLocations/useConsortiumLocations.js +++ b/lib/hooks/consortia/useConsortiumLocations/useConsortiumLocations.js @@ -15,7 +15,7 @@ export const useConsortiumLocations = (options = {}) => { const stripes = useStripes(); const centralTenantId = getConsortiumCentralTenantId(stripes); const ky = useOkapiKy({ tenant: centralTenantId }); - const [namespace] = useNamespace({ key: 'locations' }); + const [namespace] = useNamespace({ key: 'consortium-locations' }); const { enabled = true,