We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952b5f7 commit 09276f6Copy full SHA for 09276f6
src/components/transactions/GovVote/GovVoteActions.tsx
@@ -267,6 +267,7 @@ export const GovVoteActions = ({
267
success: true,
268
});
269
queryClient.invalidateQueries({ queryKey: ['governance_proposal', proposalId, user] });
270
+ queryClient.invalidateQueries({ queryKey: ['proposalVotes', proposalId] });
271
return;
272
} else {
273
setTimeout(checkForStatus, 5000);
@@ -292,6 +293,7 @@ export const GovVoteActions = ({
292
293
294
295
296
297
}
298
} catch (err) {
299
setMainTxState({
0 commit comments