Skip to content

Commit

Permalink
ignore plugin for council vote (solana-labs#1949)
Browse files Browse the repository at this point in the history
  • Loading branch information
asktree authored Nov 26, 2023
1 parent a02ba10 commit 8e893ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hooks/useSubmitVote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export const useSubmitVote = () => {
tokenOwnerRecordPk,
vote,
msg,
client,
role === 'community' ? client : undefined, // NOTE: currently FE doesn't support council plugins fully
confirmationCallback,
voteWeights,
relevantDelegators
Expand All @@ -155,6 +155,7 @@ export const useSubmitVote = () => {
queryKey: [connection.cluster, 'ChatMessages'],
})
} catch (e) {
console.error(e)
notify({ type: 'error', message: e.message })
} finally {
if (isNftPlugin) {
Expand Down

0 comments on commit 8e893ba

Please sign in to comment.