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

13 lines
215 B
JavaScript

import React from 'react';
const ContractContext = React.createContext({
accounts: [],
instances: [],
updateAccounts: () => {
},
updateInstances: (_instance) => {
}
});
export default ContractContext;