Working webpack build // Without Hot Reload

This commit is contained in:
Nicolas Gotchac
2016-11-26 17:12:52 +01:00
parent 353b6c06db
commit 44e099000d
3 changed files with 5 additions and 11 deletions

View File

@@ -24,7 +24,9 @@ export default class Contract {
constructor (api, abi) {
if (!isInstanceOf(api, Api)) {
throw new Error('API instance needs to be provided to Contract');
} else if (!abi) {
}
if (!abi) {
throw new Error('ABI needs to be provided to Contract instance');
}