make action nullable

pull/5370/head
Joseph Izang 1 year ago
parent 83feaafab4
commit 40c1ba5c58
  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