diff --git a/package.json b/package.json index c4078bf1a3..06a06528b1 100644 --- a/package.json +++ b/package.json @@ -91,15 +91,15 @@ "webpack-cli": "^4.9.1" }, "resolutions": { - "@polkadot/api": "^6.5.1", - "@polkadot/api-contract": "^6.5.1", + "@polkadot/api": "^6.5.3-1", + "@polkadot/api-contract": "^6.5.3-1", "@polkadot/hw-ledger": "^7.6.1", "@polkadot/keyring": "^7.6.1", "@polkadot/networks": "^7.6.1", - "@polkadot/phishing": "^0.6.379", - "@polkadot/types": "^6.5.1", - "@polkadot/types-known": "^6.5.1", - "@polkadot/types-support": "^6.5.1", + "@polkadot/phishing": "^0.6.383", + "@polkadot/types": "^6.5.3-1", + "@polkadot/types-known": "^6.5.3-1", + "@polkadot/types-support": "^6.5.3-1", "@polkadot/util": "^7.6.1", "@polkadot/util-crypto": "^7.6.1", "@polkadot/wasm-crypto": "^4.2.1", diff --git a/packages/page-accounts/package.json b/packages/page-accounts/package.json index d95361a51f..b4c2821809 100644 --- a/packages/page-accounts/package.json +++ b/packages/page-accounts/package.json @@ -17,7 +17,7 @@ "@babel/runtime": "^7.15.4", "@polkadot/phishing": "^0.6.383", "@polkadot/react-components": "^0.98.2-5", - "@polkadot/vanitygen": "^0.48.1", + "@polkadot/vanitygen": "^0.48.2-1", "detect-browser": "^5.2.1", "file-saver": "^2.0.5" }, diff --git a/packages/page-contracts/package.json b/packages/page-contracts/package.json index d6ec12cb79..daec6d97d0 100644 --- a/packages/page-contracts/package.json +++ b/packages/page-contracts/package.json @@ -15,6 +15,6 @@ "version": "0.98.2-5", "dependencies": { "@babel/runtime": "^7.15.4", - "@polkadot/api-contract": "^6.5.1" + "@polkadot/api-contract": "^6.5.3-1" } } diff --git a/packages/page-tech-comm/src/Proposals/Proposal.tsx b/packages/page-tech-comm/src/Proposals/Proposal.tsx index 82e974650b..4f57eaebf6 100644 --- a/packages/page-tech-comm/src/Proposals/Proposal.tsx +++ b/packages/page-tech-comm/src/Proposals/Proposal.tsx @@ -24,7 +24,7 @@ interface Props { type: 'membership' | 'technicalCommittee'; } -function Proposal ({ className = '', imageHash, members, prime, type }: Props): React.ReactElement | null { +function Proposal ({ className = '', imageHash, isMember, members, prime, type }: Props): React.ReactElement | null { const { api } = useApi(); const derive = useCall(api.derive[type].proposal, [imageHash]); const { hasFailed, isCloseable, isVoteable, remainingBlocks } = useVotingStatus(derive?.votes, members.length, type); @@ -76,6 +76,7 @@ function Proposal ({ className = '', imageHash, members, prime, type }: Props): {isVoteable && !isCloseable && ( | null { +function Voting ({ hash, isMember, members, prime, proposalId, type }: Props): React.ReactElement | null { const { t } = useTranslation(); const { api } = useApi(); const { hasAccounts } = useAccounts(); @@ -70,6 +71,7 @@ function Voting ({ hash, members, prime, proposalId, type }: Props): React.React )}