From c3366dadd69694925156b0f5016cc83aa659dcd7 Mon Sep 17 00:00:00 2001 From: Sam Wray Date: Wed, 21 Jun 2023 23:31:47 +0100 Subject: [PATCH] fix: remove inputLink warning --- package.json | 3 +-- src/application/worker/store/modules/inputs.js | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/package.json b/package.json index ec0436ab..572a921e 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "postuninstall": "electron-builder install-app-deps", "test:e2e": "npx playwright test" }, - "main": "background.js", "dependencies": { "@electron/remote": "^2.0.4", "animated-gif-detector": "^1.2.0", @@ -110,4 +109,4 @@ "resolutions": { "electron-builder": "23.0.2" } -} +} \ No newline at end of file diff --git a/src/application/worker/store/modules/inputs.js b/src/application/worker/store/modules/inputs.js index a0cfa886..bcd13786 100644 --- a/src/application/worker/store/modules/inputs.js +++ b/src/application/worker/store/modules/inputs.js @@ -182,11 +182,6 @@ const actions = { const writeTo = writeToSwap ? swap : state; if (!writeTo.inputs[inputId]) { - console.warn( - "Did not remove inputLink. Could not find input with id", - inputId - ); - return false; }