embark/lib/modules/webserver/backend/contracts/components/contract-context.js

8 lines
157 B
JavaScript
Raw Normal View History

2018-04-16 18:05:57 +00:00
const ContractContext = React.createContext({
accounts: [],
instances: [],
updateAccounts: () => {},
updateInstances: (_instance) => {}
});