make action nullable

pull/4560/head
Joseph Izang 9 months ago
parent ac761a212d
commit 040c640fec
  1. 2
      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

Loading…
Cancel
Save