trufflesuite / drizzle

Reactive Ethereum dapp UI suite
906 stars 238 forks source link

fix: change where SEND_CONTRACT_TX action type is imported from #78

Closed MalloryLeeWong closed 4 years ago

MalloryLeeWong commented 4 years ago

Closes #77

To resolve the above issue, in the DrizzleContract.js file in the Drizzle store, the action type referenced as TransactionsActions.SEND_CONTRACT_TX has been changed toContractActions.SEND_CONTRACT_TX. The action type SEND_CONTRACT_TX can now be accessed there because it is defined as a constant in the file './contracts/constants', which is imported as ContractActions in DrizzleContract.js.

To test that the proposed change fixes the issue: