Skip to content

Commit

Permalink
Removed init of no-longer-used notifyProps.nthAudio ↞ [auto-sync fr…
Browse files Browse the repository at this point in the history
…om `KudoAI/chatgpt.js`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 6, 2024
1 parent 936b768 commit b5edda0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions starters/chrome/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5edda0

Please sign in to comment.