From a42297378bef841b70cf43de08e0da742a7c97f8 Mon Sep 17 00:00:00 2001 From: blazh Date: Mon, 9 Sep 2024 20:18:42 +0200 Subject: [PATCH] bugfix: use server config in fetch single proposal fn --- packages/react-app-revamp/hooks/useProposal/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-app-revamp/hooks/useProposal/index.ts b/packages/react-app-revamp/hooks/useProposal/index.ts index 3627117f3..7c4e5a991 100644 --- a/packages/react-app-revamp/hooks/useProposal/index.ts +++ b/packages/react-app-revamp/hooks/useProposal/index.ts @@ -225,7 +225,7 @@ export function useProposal() { ]; //@ts-ignore - const results = await readContracts(config, { contracts }); + const results = await readContracts(serverConfig, { contracts }); structureAndRankProposals(results, [proposalId], initialMappedProposalIds); } catch (e) {