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

13 lines
215 B
JavaScript
Raw Normal View History

2018-08-02 19:17:40 +00:00
import React from 'react';
2018-04-16 18:05:57 +00:00
2018-08-02 19:17:40 +00:00
const ContractContext = React.createContext({
accounts: [],
instances: [],
updateAccounts: () => {
},
updateInstances: (_instance) => {
}
2018-04-16 18:05:57 +00:00
});
2018-08-02 19:17:40 +00:00
export default ContractContext;