From b5edda05ca6bb191f2e8b4226d4a29756cc8be2a Mon Sep 17 00:00:00 2001 From: adamlui Date: Mon, 6 May 2024 18:05:57 +0000 Subject: [PATCH] =?UTF-8?q?Removed=20init=20of=20no-longer-used=20`notifyP?= =?UTF-8?q?rops.nthAudio`=20=E2=86=9E=20[auto-sync=20from=20`KudoAI/chatgp?= =?UTF-8?q?t.js`]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- starters/chrome/extension/lib/chatgpt.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/starters/chrome/extension/lib/chatgpt.js b/starters/chrome/extension/lib/chatgpt.js index 3ee85ccfc..4053666a3 100644 --- a/starters/chrome/extension/lib/chatgpt.js +++ b/starters/chrome/extension/lib/chatgpt.js @@ -18,10 +18,7 @@ const endpoints = { // Init feedback properties localStorage.alertQueue = JSON.stringify([]); -localStorage.notifyProps = JSON.stringify({ - queue: { topRight: [], bottomRight: [], bottomLeft: [], topLeft: [] }, - lastNthAudio: 0 // to prevent immediate repetition of base sound -}); +localStorage.notifyProps = JSON.stringify({ queue: { topRight: [], bottomRight: [], bottomLeft: [], topLeft: [] }}); // Define chatgpt.methods const chatgpt = { // eslint-disable-line no-redeclare