Skip to content

Commit

Permalink
bugfix: use server config in fetch single proposal fn (#2307)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakedfool authored Sep 9, 2024
1 parent 022054f commit 4bfb9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-app-revamp/hooks/useProposal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4bfb9ef

Please sign in to comment.