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

8 lines
157 B
JavaScript

const ContractContext = React.createContext({
accounts: [],
instances: [],
updateAccounts: () => {},
updateInstances: (_instance) => {}
});