diff --git a/apps/vyper/src/app/utils/remix-client.tsx b/apps/vyper/src/app/utils/remix-client.tsx index 4f0c45a09b..ae4b0cab94 100644 --- a/apps/vyper/src/app/utils/remix-client.tsx +++ b/apps/vyper/src/app/utils/remix-client.tsx @@ -42,7 +42,7 @@ export class RemixClient extends PluginClient { this.eventEmitter.emit('resetCompilerState', {}) } - async vyperCompileCustomAction(action: customAction) { + async vyperCompileCustomAction(action?: customAction) { //read selected contract from file explorer and create contract type const contract = await this.getContract() //compile contract