From 040c640fec16fc90b6ba8f6a3081dbb4a70fb6c4 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 20 Feb 2024 23:43:27 +0100 Subject: [PATCH] make action nullable --- apps/vyper/src/app/utils/remix-client.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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