Remove non-generic typeUrls from revoke options

This commit is contained in:
Serkan Reis 2024-01-17 13:04:44 +03:00
parent eb1a448896
commit c87af7dbec

View File

@ -41,7 +41,6 @@ const RevokeAuthorization: NextPage = () => {
})
const revokeAuthorization = async (granteeAddress: string, msg: string) => {
console.log('Wallet Address: ', wallet.address)
try {
if (!wallet.isWalletConnected) throw new Error('Wallet not connected.')
setTransactionHash(undefined)
@ -122,12 +121,6 @@ const RevokeAuthorization: NextPage = () => {
<option className="bg-black" value="/cosmwasm.wasm.v1.MsgStoreCode">
/cosmwasm.wasm.v1.MsgStoreCode
</option>
<option className="bg-black" value="/cosmos.bank.v1beta1.SendAuthorization">
/cosmos.bank.v1beta1.SendAuthorization
</option>
<option className="bg-black" value="/cosmwasm.wasm.v1.ContractExecutionAuthorization">
/cosmwasm.wasm.v1.ContractExecutionAuthorization
</option>
</select>
</div>
<TextInput className="w-2/5" {...granteeAddressState} />