From 4bfb9ef5a8bb666c38fb7b5d6d2f454354564464 Mon Sep 17 00:00:00 2001 From: zho Date: Mon, 9 Sep 2024 20:26:33 +0200 Subject: [PATCH] bugfix: use server config in fetch single proposal fn (#2307) --- 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) {