After opening Drizzle, and then running yarn to build, the console outputs the following warning message related to the Drizzle store:
WARNING in ./src/DrizzleContract.js 114:16-52 "export 'SEND_CONTRACT_TX' (imported as 'TransactionsActions') was not found in './transactions/constants' @ ./src/Drizzle.js @ ./src/index.js
The issue is that in the DrizzleContract.js file in the store, an action type called SEND_CONTRACT_TX is referred to asTransactionsActions.SEND_CONTRACT_TX (see image below), which is not defined in the file at './transactions/constants' which TransactionsActions was imported from.
The action type SEND_CONTRACT_TX is defined as a constant in a different file at './contracts/constants', so the action type would instead correctly be accessed as ContractActions.SEND_CONTRACT_TX. This should be a straightforward issue to resolve.
After opening Drizzle, and then running
yarn
to build, the console outputs the following warning message related to the Drizzle store:WARNING in ./src/DrizzleContract.js 114:16-52 "export 'SEND_CONTRACT_TX' (imported as 'TransactionsActions') was not found in './transactions/constants' @ ./src/Drizzle.js @ ./src/index.js
The issue is that in the DrizzleContract.js file in the store, an action type called
SEND_CONTRACT_TX
is referred to asTransactionsActions.SEND_CONTRACT_TX
(see image below), which is not defined in the file at './transactions/constants' whichTransactionsActions
was imported from.The action type
SEND_CONTRACT_TX
is defined as a constant in a different file at './contracts/constants', so the action type would instead correctly be accessed asContractActions.SEND_CONTRACT_TX
. This should be a straightforward issue to resolve.